EntityEventCache Class
Namespace: PTS.EntityLayer.Events
Assembly: PTS.EntityLayer.Events.dll
Syntax
public class EntityEventCache
Inheritance
System.Object
EntityEventCache
Properties
Events
Declaration
public IReadOnlyCollection<EntityEvent> Events { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<EntityEvent> |
Methods
Add(Object, EntityEvent)
Declaration
public void Add(object entity, EntityEvent ev)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity | |
EntityEvent | ev |
HasCache(Object)
Declaration
public bool HasCache(object entity)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity |
Returns
Type | Description |
---|---|
System.Boolean |
Remove(Object)
Declaration
public void Remove(object entity)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity |
TryGet(Object)
Declaration
public EntityEvent TryGet(object entity)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity |
Returns
Type | Description |
---|---|
EntityEvent |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()