Created
August 30, 2018 12:17
-
-
Save alimozdemir/01aa987026dbaf502ecb8f078fd9326f to your computer and use it in GitHub Desktop.
ActionHistory_V2 singleton pattern
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 ActionHistory_V2 : IActionHistory | |
{ | |
private static readonly ActionHistory_V2 instance = new ActionHistory_V2(); | |
public static ActionHistory_V2 Instance { get; } = instance; | |
private ActionHistory_V2() | |
{ | |
.... | |
} | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment