Table of Contents

Class ReflectiveCollection

Namespace
NMF.Interop.Cmof
Assembly
NMF.UMLInterop.dll

The default implementation of the ReflectiveCollection class

[XmlNamespace("http://www.omg.org/spec/MOF/20131001/cmof.xmi")]
[XmlNamespacePrefix("cmof")]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//ReflectiveCollection")]
public class ReflectiveCollection : Object, IReflectiveCollection, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ReflectiveCollection
Implements
Derived
Inherited Members

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Methods

Add(IObject)

public bool Add(IObject @object)

Parameters

object IObject

Returns

bool

AddAll(IReflectiveCollection)

public bool AddAll(IReflectiveCollection objects)

Parameters

objects IReflectiveCollection

Returns

bool

Clear()

public void Clear()

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

OnAddAllCalled(OperationCallEventArgs)

Raises the AddAllCalled event

protected virtual void OnAddAllCalled(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnAddAllCalling(OperationCallEventArgs)

Raises the AddAllCalling event

protected virtual void OnAddAllCalling(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnAddCalled(OperationCallEventArgs)

Raises the AddCalled event

protected virtual void OnAddCalled(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnAddCalling(OperationCallEventArgs)

Raises the AddCalling event

protected virtual void OnAddCalling(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnClearCalled(OperationCallEventArgs)

Raises the ClearCalled event

protected virtual void OnClearCalled(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnClearCalling(OperationCallEventArgs)

Raises the ClearCalling event

protected virtual void OnClearCalling(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnRemoveCalled(OperationCallEventArgs)

Raises the RemoveCalled event

protected virtual void OnRemoveCalled(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnRemoveCalling(OperationCallEventArgs)

Raises the RemoveCalling event

protected virtual void OnRemoveCalling(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnSizeCalled(OperationCallEventArgs)

Raises the SizeCalled event

protected virtual void OnSizeCalled(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

OnSizeCalling(OperationCallEventArgs)

Raises the SizeCalling event

protected virtual void OnSizeCalling(OperationCallEventArgs eventArgs)

Parameters

eventArgs OperationCallEventArgs

The event data

Remove(IObject)

public bool Remove(IObject @object)

Parameters

object IObject

Returns

bool

Size()

public int Size()

Returns

int

Events

AddAllCalled

Gets fired after the operation addAll got called

public event EventHandler<OperationCallEventArgs> AddAllCalled

Event Type

EventHandler<OperationCallEventArgs>

AddAllCalling

Gets fired before the operation addAll gets called

public event EventHandler<OperationCallEventArgs> AddAllCalling

Event Type

EventHandler<OperationCallEventArgs>

AddCalled

Gets fired after the operation add got called

public event EventHandler<OperationCallEventArgs> AddCalled

Event Type

EventHandler<OperationCallEventArgs>

AddCalling

Gets fired before the operation add gets called

public event EventHandler<OperationCallEventArgs> AddCalling

Event Type

EventHandler<OperationCallEventArgs>

ClearCalled

Gets fired after the operation clear got called

public event EventHandler<OperationCallEventArgs> ClearCalled

Event Type

EventHandler<OperationCallEventArgs>

ClearCalling

Gets fired before the operation clear gets called

public event EventHandler<OperationCallEventArgs> ClearCalling

Event Type

EventHandler<OperationCallEventArgs>

RemoveCalled

Gets fired after the operation remove got called

public event EventHandler<OperationCallEventArgs> RemoveCalled

Event Type

EventHandler<OperationCallEventArgs>

RemoveCalling

Gets fired before the operation remove gets called

public event EventHandler<OperationCallEventArgs> RemoveCalling

Event Type

EventHandler<OperationCallEventArgs>

SizeCalled

Gets fired after the operation size got called

public event EventHandler<OperationCallEventArgs> SizeCalled

Event Type

EventHandler<OperationCallEventArgs>

SizeCalling

Gets fired before the operation size gets called

public event EventHandler<OperationCallEventArgs> SizeCalling

Event Type

EventHandler<OperationCallEventArgs>