Fork me on GitHubEpicdominant domains
APIEpic.CollectionsIdentityMap<(Of <(<'TEntity, TIdentity>)>)>

IdentityMap<(Of <(<'TEntity, TIdentity>)>)>
Simple identity map.
Inheritance Hierarchy
Object
IdentityMap<(Of <(<'TEntity, TIdentity>)>)>

Assembly: Epic.Prelude

Declaration Syntax
C#
[SerializableAttribute]
public sealed class IdentityMap<TEntity, TIdentity> : IIdentityMap<TEntity, TIdentity>, 
	IMap<TIdentity, TEntity>, IDisposable, ISerializable
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 MembersConstructorsMethodsProperties  



MemberDescription
IdentityMap<(Of <(<'TEntity, TIdentity>)>)>(IMapping<(Of <<'(TEntity, TIdentity>)>>))
Initializes a new instance of the IdentityMap<(Of <(<'TEntity, TIdentity>)>)> class.
IdentityMap<(Of <(<'TEntity, TIdentity>)>)>(Func<(Of <<'(TEntity, TIdentity>)>>))
Initializes a new instance of the IdentityMap<(Of <(<'TEntity, TIdentity>)>)> class.
Dispose()()()()
Releases all resource used by the IdentityMap<(Of <(<'TEntity, TIdentity>)>)> object.
ForEachKnownEntity(Action<(Of <<'(TEntity>)>>))
Execute action to each known entity.
Item[([( TIdentity])])
Gets the TEntity with the specified key.
Knows(TIdentity)
Determines if the map already knows the specified entity.
Register(TEntity)
Register in the map the specified entity.
blog comments powered by Disqus