Fork me on GitHubEpicdominant domains
APIEpicObserverBase<(Of <(<'TEntity>)>)>

ObserverBase<(Of <(<'TEntity>)>)>
Base class for entities' observers.
Inheritance Hierarchy
Object
ObserverBase<(Of <(<'TEntity>)>)>

Assembly: Epic.Core

Declaration Syntax
C#
public abstract class ObserverBase<TEntity> : IDisposable
where TEntity : class
Generic Template Parameters
TEntity
Type of the observed entities.
Remarks
On disposition, all observed entities will be unsubscribed.
Members
All MembersConstructorsMethods   



MemberDescription
ObserverBase<(Of <(<'TEntity>)>)>()()()()
Initializes a new instance of the observer.
Dispose()()()()
Unsubscribe all subscriptions done.
Ignore(TEntity)
Stop observing the specified TEntity.
Observe(TEntity)
Begin to observe the specified TEntity.
Subscribe(TEntity)
Subscribe the interesting events of the specified TEntity.
Unsubscribe(TEntity)
Unsubscribe the subscribed events of the specified TEntity.
Exceptions
ExceptionCondition
ArgumentNullException Is thrown when an argument is null.
blog comments powered by Disqus