Specification Pattern is a behavioral pattern that allows to specify business logic of an object in a declarative way.
Here is an example of how to implement specification pattern in C#:
main.cs2308 chars104 lines
Here is example usage of the above code:
main.cs456 chars12 lines
gistlibby LogSnag