Created
November 25, 2014 09:30
-
-
Save coyot/0a936127d7061a0facb7 to your computer and use it in GitHub Desktop.
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
public class CurrentDefaultColorWriter : IHourWriter | |
{ | |
private IOutput _output; | |
public CurrentDefaultColorWriter(IOutput output) | |
{ | |
this._output = output; | |
} | |
public void WriteHour() | |
{ | |
this._output.Write(DateTime.Today.ToShortDateString()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment