LexicalScopeCollection Class
Represents a collection of lexical scopes.
public class LexicalScopeCollection : SimpleObservableCollection<LexicalScopeBase>, ILexicalScopeCollection
- Inheritance:
- object Collection<LexicalScopeBase> SimpleObservableCollection<LexicalScopeBase> object
- Implements:
- ILexicalScopeCollection
Constructors
LexicalScopeCollection(ILexicalState)
Initializes a new instance of the LexicalScopeCollection
class.
public LexicalScopeCollection(ILexicalState parentLexicalState)
Parameter | Type | Description |
---|---|---|
parentLexicalState | ILexicalState | The parent ILexicalState that should be assigned to children, if any. |
Methods
OnItemAdded(int, LexicalScopeBase)
Called after an item as been added into the collection.
protected override void OnItemAdded(int index, LexicalScopeBase value)
Parameter | Type | Description |
---|---|---|
index | int | The index at which the item is added. |
value | LexicalScopeBase | The item that is added. |
OnItemRemoving(int, LexicalScopeBase)
Called before an item has been removed from the collection.
protected override void OnItemRemoving(int index, LexicalScopeBase value)
Parameter | Type | Description |
---|---|---|
index | int | The index at which the item is removed. |
value | LexicalScopeBase | The item that is removed. |
Inherited Members
- SimpleObservableCollection<LexicalScopeBase>.BlockReentrancy()
- SimpleObservableCollection<LexicalScopeBase>.CheckReadOnly()
- SimpleObservableCollection<LexicalScopeBase>.CheckReentrancy()
- SimpleObservableCollection<LexicalScopeBase>.ClearItems()
- SimpleObservableCollection<LexicalScopeBase>.InsertItem(int, LexicalScopeBase)
- SimpleObservableCollection<LexicalScopeBase>.OnItemAdding(int, LexicalScopeBase)
- SimpleObservableCollection<LexicalScopeBase>.OnItemRemoved(int, LexicalScopeBase)
- SimpleObservableCollection<LexicalScopeBase>.RemoveItem(int)
- SimpleObservableCollection<LexicalScopeBase>.SetItem(int, LexicalScopeBase)
- SimpleObservableCollection<LexicalScopeBase>.IsReadOnly
- SimpleObservableCollection<LexicalScopeBase>.ItemAdding
- SimpleObservableCollection<LexicalScopeBase>.ItemAdded
- SimpleObservableCollection<LexicalScopeBase>.ItemRemoving
- SimpleObservableCollection<LexicalScopeBase>.ItemRemoved
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()