Interface IObservableProvider
public interface IObservableProvider
Properties
TypeSpecifier
The entities and attributes this provider answers for.
IEntityAttributeValueTypeSpecifier TypeSpecifier { get; }
Property Value
Methods
GetObservable<V>(IEntityIdentifier, IAttribute<V>)
The value stream of the entity's attribute, or null when there is none.
IObservable<V>? GetObservable<V>(IEntityIdentifier identifier, IAttribute<V> attribute) where V : struct
Parameters
identifierIEntityIdentifierattributeIAttribute<V>
Returns
- IObservable<V>
Type Parameters
V
Exceptions
- AttributeTypeMismatchException
The provider holds the attribute with another value type.