Show / Hide Table of Contents

Class OperationCall

The default implementation of the OperationCall class

Inheritance
object
ModelElement
ModelChange
OperationCall
Implements
IOperationCall
IModelChange
IModelElement
INotifyPropertyChanged
INotifyPropertyChanging
Inherited Members
ModelElement.Model
ModelElement.Freeze()
ModelElement.Lock()
ModelElement.IsFrozen
ModelElement.IsLocked
ModelElement.Unlock()
ModelElement.TryUnlock()
ModelElement.GetContainerReference(IModelElement, out int)
ModelElement.PropagateNewModel(Model, Model, IModelElement)
ModelElement.OnChildCreated(IModelElement)
ModelElement.OnParentChanging(IModelElement, IModelElement)
ModelElement.OnParentChanged(IModelElement, IModelElement)
ModelElement.Parent
ModelElement.Children
ModelElement.RelativeUri
ModelElement.AbsoluteUri
ModelElement.CreateUriWithFragment(string, bool, IModelElement)
ModelElement.CreateUriFromGlobalIdentifier(string, bool)
ModelElement.PropagateNewId(ValueChangedEventArgs)
ModelElement.EnforceModels
ModelElement.PreferIdentifiers
ModelElement.IsIdentified
ModelElement.ToIdentifierString()
ModelElement.ToString()
ModelElement.KeyChanged
ModelElement.OnKeyChanged(EventArgs)
ModelElement.Resolve(Uri)
ModelElement.Resolve(string)
ModelElement.GetRelativePathForChild(IModelElement)
ModelElement.GetRelativePathForNonIdentifiedChild(IModelElement)
ModelElement.GetCompositionName(object)
ModelElement.GetModelElementForPathSegment(string)
ModelElement.GetAttributeValue(string, int)
ModelElement.CallOperation(IOperation, object[])
ModelElement.GetExpressionForAttribute(string)
ModelElement.Extensions
ModelElement.GetExtension<T>()
ModelElement.OnPropertyChanged(string, ValueChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnPropertyChanging(string, ValueChangedEventArgs, Lazy<ITypedElement>)
ModelElement.Delete()
ModelElement.OnDeleting(UriChangedEventArgs)
ModelElement.OnDeleted(UriChangedEventArgs)
ModelElement.PropertyChanged
ModelElement.PropertyChanging
ModelElement.Deleted
ModelElement.Deleting
ModelElement.UriChanged
ModelElement.GetReferencedElement(IReference, int)
ModelElement.SetReferencedElement(IReference, IModelElement)
ModelElement.GetReferencedElements(IReference)
ModelElement.GetAttributeValue(IAttribute, int)
ModelElement.SetAttributeValue(IAttribute, object)
ModelElement.GetAttributeValues(IAttribute)
ModelElement.OnCollectionChanged(string, NotifyCollectionChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnCollectionChanging(string, NotifyCollectionChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnBubbledChange(BubbledChangeEventArgs)
ModelElement.BubbledChange
ModelElement.ParentChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: NMF.Models.Changes
Assembly: NMF.Models.dll
Syntax
[XmlNamespace("http://nmf.codeplex.com/changes")]
[XmlNamespacePrefix("changes")]
[ModelRepresentationClass("http://nmf.codeplex.com/changes#//OperationCall")]
public class OperationCall : ModelChange, IOperationCall, IModelChange, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging

Constructors

| Edit this page View Source

OperationCall()

Declaration
public OperationCall()

Properties

| Edit this page View Source

Arguments

The arguments property

Declaration
[XmlElementName("arguments")]
[XmlAttribute(true)]
public IListExpression<IOperationArgument> Arguments { get; }
Property Value
Type Description
IListExpression<IOperationArgument>
| Edit this page View Source

ClassInstance

Gets the Class model for this type

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

Operation

The operation property

Declaration
[XmlElementName("operation")]
[XmlAttribute(true)]
public IOperation Operation { get; set; }
Property Value
Type Description
IOperation
| Edit this page View Source

ReferencedElements

Gets the referenced model elements of this model element

Declaration
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Type Description
IEnumerableExpression<IModelElement>
Overrides
ModelElement.ReferencedElements
| Edit this page View Source

TargetElement

The targetElement property

Declaration
[XmlElementName("targetElement")]
[XmlAttribute(true)]
public IModelElement TargetElement { get; set; }
Property Value
Type Description
IModelElement

Methods

| Edit this page View Source

Apply()

Applies the change

Declaration
public override void Apply()
Overrides
ModelChange.Apply()
| Edit this page View Source

GetClass()

Gets the Class for this model element

Declaration
public override IClass GetClass()
Returns
Type Description
IClass
Overrides
ModelChange.GetClass()
| Edit this page View Source

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

Declaration
protected override IList GetCollectionForFeature(string feature)
Parameters
Type Name Description
string feature

The requested feature

Returns
Type Description
IList

A non-generic list of elements

Overrides
ModelElement.GetCollectionForFeature(string)
| Edit this page View Source

GetExpressionForReference(string)

Gets the property expression for the given reference

Declaration
protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)
Parameters
Type Name Description
string reference

The requested reference in upper case

Returns
Type Description
INotifyExpression<IModelElement>

An incremental property expression

Overrides
ModelElement.GetExpressionForReference(string)
| Edit this page View Source

GetModelElementForReference(string, int)

Resolves the given URI to a child model element

Declaration
protected override IModelElement GetModelElementForReference(string reference, int index)
Parameters
Type Name Description
string reference

The requested reference name

int index

The index of this reference

Returns
Type Description
IModelElement

The model element or null if it could not be found

Overrides
ModelElement.GetModelElementForReference(string, int)
| Edit this page View Source

Invert()

Calculates changes that invert the current change

Declaration
public override IEnumerable<IModelChange> Invert()
Returns
Type Description
IEnumerable<IModelChange>

A collection of model changes that invert the current change

Overrides
ModelChange.Invert()
| Edit this page View Source

OnOperationChanged(ValueChangedEventArgs)

Raises the OperationChanged event

Declaration
protected virtual void OnOperationChanged(ValueChangedEventArgs eventArgs)
Parameters
Type Name Description
ValueChangedEventArgs eventArgs

The event data

| Edit this page View Source

OnOperationChanging(ValueChangedEventArgs)

Raises the OperationChanging event

Declaration
protected virtual void OnOperationChanging(ValueChangedEventArgs eventArgs)
Parameters
Type Name Description
ValueChangedEventArgs eventArgs

The event data

| Edit this page View Source

OnTargetElementChanged(ValueChangedEventArgs)

Raises the TargetElementChanged event

Declaration
protected virtual void OnTargetElementChanged(ValueChangedEventArgs eventArgs)
Parameters
Type Name Description
ValueChangedEventArgs eventArgs

The event data

| Edit this page View Source

OnTargetElementChanging(ValueChangedEventArgs)

Raises the TargetElementChanging event

Declaration
protected virtual void OnTargetElementChanging(ValueChangedEventArgs eventArgs)
Parameters
Type Name Description
ValueChangedEventArgs eventArgs

The event data

| Edit this page View Source

SetFeature(string, object)

Sets a value to the given feature

Declaration
protected override void SetFeature(string feature, object value)
Parameters
Type Name Description
string feature

The requested feature

object value

The value that should be set to that feature

Overrides
ModelElement.SetFeature(string, object)

Events

| Edit this page View Source

OperationChanged

Gets fired when the Operation property changed its value

Declaration
public event EventHandler<ValueChangedEventArgs> OperationChanged
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

OperationChanging

Gets fired before the Operation property changes its value

Declaration
public event EventHandler<ValueChangedEventArgs> OperationChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

TargetElementChanged

Gets fired when the TargetElement property changed its value

Declaration
public event EventHandler<ValueChangedEventArgs> TargetElementChanged
Event Type
Type Description
EventHandler<ValueChangedEventArgs>
| Edit this page View Source

TargetElementChanging

Gets fired before the TargetElement property changes its value

Declaration
public event EventHandler<ValueChangedEventArgs> TargetElementChanging
Event Type
Type Description
EventHandler<ValueChangedEventArgs>

Implements

IOperationCall
IModelChange
IModelElement
INotifyPropertyChanged
INotifyPropertyChanging

Extension Methods

ModelExtensions.AncestorTree(IModelElement)
ModelExtensions.Ancestors(IModelElement)
ModelExtensions.Descendants(IModelElement)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX