Class ReferenceCollection
Denotes the base class for a collection of referenced elements
Inheritance
ReferenceCollection
Assembly: NMF.Models.dll
Syntax
public abstract class ReferenceCollection : ICollectionExpression<IModelElement>, IEnumerableExpression<IModelElement>, IEnumerableExpression, ICollection<IModelElement>, IEnumerable<IModelElement>, IEnumerable, INotifyCollectionChanged, IDisposable
Properties
|
Edit this page
View Source
Count
Declaration
public abstract int Count { get; }
Property Value
|
Edit this page
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Methods
|
Edit this page
View Source
Add(IModelElement)
Declaration
public abstract void Add(IModelElement item)
Parameters
|
Edit this page
View Source
AsNotifiable()
Gets notifications for this collection
Declaration
public INotifyCollection<IModelElement> AsNotifiable()
Returns
|
Edit this page
View Source
AttachCore()
Declaration
protected abstract void AttachCore()
|
Edit this page
View Source
Clear()
Declaration
public abstract void Clear()
|
Edit this page
View Source
Contains(IModelElement)
Declaration
public abstract bool Contains(IModelElement item)
Parameters
Returns
|
Edit this page
View Source
CopyTo(IModelElement[], int)
Declaration
public abstract void CopyTo(IModelElement[] array, int arrayIndex)
Parameters
|
Edit this page
View Source
DetachCore()
Declaration
protected abstract void DetachCore()
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
|
Edit this page
View Source
GetEnumerator()
Declaration
public abstract IEnumerator<IModelElement> GetEnumerator()
Returns
|
Edit this page
View Source
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
|
Edit this page
View Source
PropagateCollectionChanges(object, NotifyCollectionChangedEventArgs)
Propagate a collection changed event
Declaration
protected void PropagateCollectionChanges(object sender, NotifyCollectionChangedEventArgs e)
Parameters
|
Edit this page
View Source
PropagateValueChanges(object, ValueChangedEventArgs)
Propagate a value changed event
Declaration
protected void PropagateValueChanges(object sender, ValueChangedEventArgs e)
Parameters
|
Edit this page
View Source
Remove(IModelElement)
Declaration
public abstract bool Remove(IModelElement item)
Parameters
Returns
Events
|
Edit this page
View Source
CollectionChanged
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
Implements