Interface ICommandSpecFactory
A command spec spec for entities implementing a component interface (e.g. IUserAccount).
public interface ICommandSpecFactory
Methods
Create<T>()
Returns the spec parameterised by concrete entity type T, which matched Match(IEntityInfo).
ICommandSpec<T> Create<T>() where T : IEntity<T>
Returns
- ICommandSpec<T>
Type Parameters
T
Match(IEntityInfo)
bool Match(IEntityInfo metadata)
Parameters
metadataIEntityInfo