This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Microsoft.Extensions.Options; | |
namespace MyConsoleApplication | |
{ | |
public class Application | |
{ | |
private readonly IOptions<MySettings> _settings = null; | |
public Application(IOptions<MySettings> mySettings) |