Interface ITaskProvider
public interface ITaskProvider
Properties
TypeSpecifier
IEntityAttributeValueTypeSpecifier TypeSpecifier { get; }
Property Value
Methods
GetTask<V>(IEntityIdentifier, IAttribute<V>)
The task for the entity's attribute, or null when there is none.
Task<V>? GetTask<V>(IEntityIdentifier identifier, IAttribute<V> attribute) where V : struct
Parameters
identifierIEntityIdentifierattributeIAttribute<V>
Returns
- Task<V>
Type Parameters
V
Exceptions
- AttributeTypeMismatchException
The provider holds the attribute with another value type.