Last active
August 29, 2015 14:27
-
-
Save rofr/d348728773cd608257e7 to your computer and use it in GitHub Desktop.
Smurf naming?
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
[Isolation(Isolation = Isolation.InputOutput)] | |
public class MyCommand : Command<MyModel, MyResult> | |
{ | |
} |
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
[Flags] | |
public enum Isolation | |
{ | |
Unknown = 0, | |
Input = 1, | |
Output = 2, | |
InputOutput = 3 | |
} |
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
[AttributeUsage(AttributeTargets.Class)] | |
public class IsolationAttribute : Attribute | |
{ | |
public Isolation Isolation{ get; set; } | |
public IsolationAttribute(Isolation isolation) | |
{ | |
Isolation = isolation; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment