Represent an Identity Map.
Assembly: Epic.Prelude
Declaration Syntax
C# |
public interface IIdentityMap<TEntity, TIdentity> : IMap<TIdentity, TEntity>, IDisposable where TEntity : class where TIdentity : Object, IEquatable<TIdentity>
Generic Template Parameters
- TEntity
- Type of the entity of interest.
- TIdentity
- Type of the identity of TEntity.
Members
All Members | Methods | ||||
Member | Description | |
---|---|---|
ForEachKnownEntity(Action<(Of <<'(TEntity>)>>)) |
Execute action to each known entity.
| |
Knows(TIdentity) |
Determines if the map already knows the specified entity.
| |
Register(TEntity) |
Register in the map the specified entity.
|