Table of Contents

Interface IParameter

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

The public interface for Parameter

[DefaultImplementationType(typeof(Parameter))]
[XmlDefaultImplementationType(typeof(Parameter))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//Parameter")]
public interface IParameter : ITypedElement, INamedElement, IMultiplicityElement, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

DefaultValue

Specifies a ValueSpecification that represents a value to be used when no argument is supplied for the Parameter.

[Browsable(false)]
[XmlElementName("defaultValue")]
[XmlAttribute(false)]
[Containment]
IValueSpecification DefaultValue { get; set; }

Property Value

IValueSpecification

Direction

Indicates whether a parameter is being sent into or out of a behavioral element.

[XmlElementName("direction")]
[XmlAttribute(true)]
ParameterDirectionKind Direction { get; set; }

Property Value

ParameterDirectionKind

Operation

References the Operation owning this parameter.

[XmlElementName("operation")]
[XmlAttribute(true)]
IOperation Operation { get; set; }

Property Value

IOperation

Events

DefaultValueChanged

Gets fired when the DefaultValue property changed its value

event EventHandler<ValueChangedEventArgs> DefaultValueChanged

Event Type

EventHandler<ValueChangedEventArgs>

DefaultValueChanging

Gets fired before the DefaultValue property changes its value

event EventHandler<ValueChangedEventArgs> DefaultValueChanging

Event Type

EventHandler<ValueChangedEventArgs>

DirectionChanged

Gets fired when the Direction property changed its value

event EventHandler<ValueChangedEventArgs> DirectionChanged

Event Type

EventHandler<ValueChangedEventArgs>

DirectionChanging

Gets fired before the Direction property changes its value

event EventHandler<ValueChangedEventArgs> DirectionChanging

Event Type

EventHandler<ValueChangedEventArgs>

OperationChanged

Gets fired when the Operation property changed its value

event EventHandler<ValueChangedEventArgs> OperationChanged

Event Type

EventHandler<ValueChangedEventArgs>

OperationChanging

Gets fired before the Operation property changes its value

event EventHandler<ValueChangedEventArgs> OperationChanging

Event Type

EventHandler<ValueChangedEventArgs>