Show / Hide Table of Contents

Class BubbledChangeEventArgs

Describes that an elementary change in the model elements containment hierarchy has happened

Inheritance
object
EventArgs
BubbledChangeEventArgs
Inherited Members
EventArgs.Empty
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Models
Assembly: NMF.Models.dll
Syntax
public class BubbledChangeEventArgs : EventArgs

Properties

| Edit this page View Source

ChangeType

Gets the type of change that occured. This defines the type of OriginalEventArgs and whether PropertyName is used.

Declaration
public ChangeType ChangeType { get; }
Property Value
Type Description
ChangeType
| Edit this page View Source

Element

The original model element directly affected by this change

Declaration
public IModelElement Element { get; }
Property Value
Type Description
IModelElement
| Edit this page View Source

Feature

Gets the feature that was affected from the change or null, if not applicable or could not be loaded

Declaration
public ITypedElement Feature { get; }
Property Value
Type Description
ITypedElement
| Edit this page View Source

OriginalEventArgs

The original event arguments

Declaration
public EventArgs OriginalEventArgs { get; }
Property Value
Type Description
EventArgs
| Edit this page View Source

PropertyName

The name of the affected property or null, if no specific property was affected

Declaration
public string PropertyName { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

CollectionChanged(IModelElement, string, NotifyCollectionChangedEventArgs, bool, Lazy<ITypedElement>)

Creates an instance of BubbledChangeEventArgs describing a change in a collection.

Declaration
public static BubbledChangeEventArgs CollectionChanged(IModelElement source, string propertyName, NotifyCollectionChangedEventArgs args, bool requireUris, Lazy<ITypedElement> feature = null)
Parameters
Type Name Description
IModelElement source

The model element containing the collection.

string propertyName

The name of the collection property.

NotifyCollectionChangedEventArgs args

The event data of the original event

bool requireUris

Determies whether the event data should obtain the absolute Uris

Lazy<ITypedElement> feature

The affected feature

Returns
Type Description
BubbledChangeEventArgs

The complete event data

| Edit this page View Source

CollectionChanging(IModelElement, string, NotifyCollectionChangedEventArgs, bool, Lazy<ITypedElement>)

Creates an instance of BubbledChangeEventArgs describing an upcoming change in a collection.

Declaration
public static BubbledChangeEventArgs CollectionChanging(IModelElement source, string propertyName, NotifyCollectionChangedEventArgs args, bool requireUris, Lazy<ITypedElement> feature = null)
Parameters
Type Name Description
IModelElement source

The model element containing the collection.

string propertyName

The name of the collection property.

NotifyCollectionChangedEventArgs args

The event data of the original event

bool requireUris

Determines whether the event data should include absolute Uris

Lazy<ITypedElement> feature

The affected feature

Returns
Type Description
BubbledChangeEventArgs

The complete event data

| Edit this page View Source

ElementCreated(IModelElement, UriChangedEventArgs)

Creates an instance of BubbledChangeEventArgs describing that an element in the tree has been created

Declaration
public static BubbledChangeEventArgs ElementCreated(IModelElement child, UriChangedEventArgs e)
Parameters
Type Name Description
IModelElement child

The child that has been created

UriChangedEventArgs e

The original event data

Returns
Type Description
BubbledChangeEventArgs

A BubbledChange event data container

| Edit this page View Source

ElementDeleted(ModelElement, UriChangedEventArgs)

Creates an instance of BubbledChangeEventArgs describing that an element in the tree has been deleted

Declaration
public static BubbledChangeEventArgs ElementDeleted(ModelElement source, UriChangedEventArgs e)
Parameters
Type Name Description
ModelElement source

The element that has been deleted

UriChangedEventArgs e

The original event data

Returns
Type Description
BubbledChangeEventArgs

A BubbledChange event data container

| Edit this page View Source

OperationCalled(IModelElement, IOperation, OperationCallEventArgs)

Creates an instance of BubbledChangeEventArgs describing that an operation is being called

Declaration
public static BubbledChangeEventArgs OperationCalled(IModelElement source, IOperation operation, OperationCallEventArgs args)
Parameters
Type Name Description
IModelElement source

The model element that is the target for the call

IOperation operation

The operation that is called

OperationCallEventArgs args

The event arguments, including parameters of the call

Returns
Type Description
BubbledChangeEventArgs
| Edit this page View Source

OperationCalling(IModelElement, IOperation, OperationCallEventArgs)

Creates an instance of BubbledChangeEventArgs describing that an operation is being called

Declaration
public static BubbledChangeEventArgs OperationCalling(IModelElement source, IOperation operation, OperationCallEventArgs args)
Parameters
Type Name Description
IModelElement source

The model element that is the target for the call

IOperation operation

The operation that is called

OperationCallEventArgs args

The event arguments, including parameters of the call

Returns
Type Description
BubbledChangeEventArgs
| Edit this page View Source

PropertyChanged(IModelElement, string, ValueChangedEventArgs, bool, Lazy<ITypedElement>)

Creates an instance of BubbledChangeEventArgs describing a change of a property value.

Declaration
public static BubbledChangeEventArgs PropertyChanged(IModelElement source, string propertyName, ValueChangedEventArgs args, bool requireUris, Lazy<ITypedElement> feature = null)
Parameters
Type Name Description
IModelElement source

The model element containing the property.

string propertyName

The property name.

ValueChangedEventArgs args

The event data of the original event

bool requireUris

Determines whether the event data should include absolute Uris

Lazy<ITypedElement> feature

The affected feature

Returns
Type Description
BubbledChangeEventArgs

The complete event data

| Edit this page View Source

PropertyChanging(IModelElement, string, ValueChangedEventArgs, bool, Lazy<ITypedElement>)

Create an instance of BubbledChangeEventArgs describing an upcoming change of a property value.

Declaration
public static BubbledChangeEventArgs PropertyChanging(IModelElement source, string propertyName, ValueChangedEventArgs eventArgs, bool requireUris, Lazy<ITypedElement> feature = null)
Parameters
Type Name Description
IModelElement source

The model element containing the property.

string propertyName

The property name.

ValueChangedEventArgs eventArgs

The event data of the original event

bool requireUris

Determines whether the event data should include absolute Uris

Lazy<ITypedElement> feature

The affected feature

Returns
Type Description
BubbledChangeEventArgs

The complete event data

| Edit this page View Source

UriChanged(ModelElement, UriChangedEventArgs)

Creates an instance of BubbledChangeEventArgs describing that the Uri of an element has changed

Declaration
public static BubbledChangeEventArgs UriChanged(ModelElement modelElement, UriChangedEventArgs e)
Parameters
Type Name Description
ModelElement modelElement

The model element whose uri has changed

UriChangedEventArgs e

The original event data

Returns
Type Description
BubbledChangeEventArgs

A BubbledChange event data container

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX