Last active
January 22, 2019 10:49
-
-
Save MarcoNicolodi/6ce1c1160281631954f932d63d213741 to your computer and use it in GitHub Desktop.
Chain of responsibility
This file contains hidden or 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 Label | |
{ | |
private Label(string Result) | |
{ | |
Value = Result; | |
} | |
public string Value { get; } | |
public static Label ApprovedOn => new Label("approvedOn"); | |
public static Label ApprovedOff => new Label("approvedOff"); | |
public static Label ReprovedOn => new Label("reprovedOn"); | |
public static Label ReprovedOff => new Label("reprovedOff"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment