Class Spec
- Namespace
- Microsoft.Accordant
- Assembly
- Accordant.Operations.dll
Static factory for creating specs.
public static class Spec
- Inheritance
-
Spec
- Inherited Members
Methods
For<TState>()
Creates a new spec for the given state type.
public static Spec<TState> For<TState>() where TState : class, IState
Returns
- Spec<TState>
A new Spec<TState> instance.
Type Parameters
TStateThe type of state the spec operates on.