Class EventedCollectionBase<TContext>
Provides base implementation for some evented collections
Inheritance
System.Object
EventedCollectionBase<TContext>
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()
Namespace: Azos.Collections
Assembly: Azos.dll
Syntax
public abstract class EventedCollectionBase<TContext>
Type Parameters
Name | Description |
---|---|
TContext |
Constructors
EventedCollectionBase()
Declaration
protected EventedCollectionBase()
EventedCollectionBase(TContext, Boolean)
Declaration
protected EventedCollectionBase(TContext context, bool contextReadOnly)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | |
System.Boolean | contextReadOnly |
Fields
GetReadOnlyEvent
Declaration
[NonSerialized]
public EventedCollectionGetReadOnlyHandler<TContext> GetReadOnlyEvent
Field Value
Type | Description |
---|---|
EventedCollectionGetReadOnlyHandler<TContext> |
Properties
Context
Context that this structure works in
Declaration
public TContext Context { get; set; }
Property Value
Type | Description |
---|---|
TContext |
ContextReadOnly
Returns true to indicate that Context property can not be set (was injected in .ctor only
Declaration
public bool ContextReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsReadOnly
Indicates whether collection can be modified
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
CheckReadOnly()
Declaration
public void CheckReadOnly()