Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View fooberichu150's full-sized avatar

Jon Seeley fooberichu150

View GitHub Profile
@fooberichu150
fooberichu150 / Application.cs
Created November 22, 2018 03:00
Dependency Injection in a DotNetCore Console Application
using System;
using Microsoft.Extensions.Options;
namespace MyConsoleApplication
{
public class Application
{
private readonly IOptions<MySettings> _settings = null;
public Application(IOptions<MySettings> mySettings)
// code used for https://www.seeleycoder.com/blog/react-countdown-timer
import * as React from 'react';
import PropTypes from 'prop-types';
// https://www.npmjs.com/package/countdown
import countdown from 'countdown';
const TimerSpanDisplay = function TimerSpanDisplay(props) {
const { className, value, label } = props;