Skip to content

Instantly share code, notes, and snippets.

View pwhitdog's full-sized avatar

Paul Whitmer pwhitdog

View GitHub Profile
@Foovanadil
Foovanadil / TimeProvider.cs
Last active November 23, 2016 22:56
Unit Test TimeProvider with Default Implementation
public abstract class TimeProvider
{
private static TimeProvider current = DefaultTimeProvider.Instance;
public static TimeProvider Current
{
get { return current; }
set
{
if (value == null)