Class ParentMergedCollection<TParent, TKey, TItem>
Inherited Members
Namespace: Ludiq
Syntax
public abstract class ParentMergedCollection<TParent, TKey, TItem> : MergedKeyedCollection<TKey, TItem>, IMergedCollection<TItem>, IKeyedCollection<TKey, TItem>, ICollection, INotifyCollectionChangedPausable, INotifyCollectionChanged, INotifyCollectionItemPropertyChanged, IBulkCollection<TItem>, ICollection<TItem>, IEnumerable<TItem>, IEnumerable where TParent : class
Type Parameters
| Name | Description |
|---|---|
| TParent | |
| TKey | |
| TItem |
Constructors
ParentMergedCollection()
Declaration
protected ParentMergedCollection()
Methods
Add(IEnumerable<TItem>)
Declaration
public virtual void Add(IEnumerable<TItem> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TItem> | items |
Implements
Clear()
Declaration
public override void Clear()
Overrides
Ludiq.MergedKeyedCollection<TKey, TItem>.Clear()
Include<TSubItem>(IKeyedCollection<TKey, TSubItem>)
Declaration
public override void Include<TSubItem>(IKeyedCollection<TKey, TSubItem> collection)
where TSubItem : TItem
Parameters
| Type | Name | Description |
|---|---|---|
| IKeyedCollection<TKey, TSubItem> | collection |
Type Parameters
| Name | Description |
|---|---|
| TSubItem |
Overrides
Ludiq.MergedKeyedCollection<TKey, TItem>.Include<TSubItem>(Ludiq.IKeyedCollection<TKey, TSubItem>)
OnCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | sender | |
| NotifyCollectionChangedEventArgs | args |
OnItemPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void OnItemPropertyChanged(object sender, PropertyChangedEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | sender | |
| PropertyChangedEventArgs | args |
PauseCollectionChangeNotifications()
Declaration
public void PauseCollectionChangeNotifications()
Implements
Replace(IEnumerable<TItem>)
Declaration
public virtual void Replace(IEnumerable<TItem> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TItem> | items |
Implements
ResumeCollectionChangeNotifications(Boolean)
Declaration
public bool ResumeCollectionChangeNotifications(bool notify)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | notify |
Returns
| Type | Description |
|---|---|
| Boolean |
Implements
Events
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
| Type | Description |
|---|---|
| NotifyCollectionChangedEventHandler |
ItemPropertyChanged
Declaration
public event PropertyChangedEventHandler ItemPropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |