Class MethodConfiguration
- Assembly
- NMF.Expressions.Configuration.dll
The default implementation of the MethodConfiguration class
[XmlNamespace("http://nmf.codeplex.com/incrementalizationConfig")]
[XmlNamespacePrefix("conf")]
[ModelRepresentationClass("http://nmf.codeplex.com/incrementalizationConfig#//MethodConfiguration/")]
public class MethodConfiguration : ModelElement, IMethodConfiguration, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
MethodConfiguration
- Implements
- Inherited Members
- Extension Methods
Constructors
MethodConfiguration()
Creates a new instance
public MethodConfiguration()
Properties
AllowedStrategies
The allowedStrategies property
[LowerBound(1)]
[XmlElementName("allowedStrategies")]
[XmlAttribute(true)]
public virtual IListExpression<IncrementalizationStrategy> AllowedStrategies { get; }
Property Value
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
MethodIdentifier
The methodIdentifier property
[XmlElementName("methodIdentifier")]
[XmlAttribute(true)]
public virtual string MethodIdentifier { get; set; }
Property Value
Strategy
The strategy property
[XmlElementName("strategy")]
[XmlAttribute(true)]
public virtual IncrementalizationStrategy Strategy { get; set; }
Property Value
Methods
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
Returns
- object
The attribute value or null if it could not be found
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
GetCollectionForFeature(string)
Gets the Model element collection for the given feature
protected override IList GetCollectionForFeature(string feature)
Parameters
feature
stringThe requested feature
Returns
- IList
A non-generic list of elements
OnMethodIdentifierChanged(ValueChangedEventArgs)
Raises the MethodIdentifierChanged event
protected virtual void OnMethodIdentifierChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnMethodIdentifierChanging(ValueChangedEventArgs)
Raises the MethodIdentifierChanging event
protected virtual void OnMethodIdentifierChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnStrategyChanged(ValueChangedEventArgs)
Raises the StrategyChanged event
protected virtual void OnStrategyChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnStrategyChanging(ValueChangedEventArgs)
Raises the StrategyChanging event
protected virtual void OnStrategyChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)
Parameters
Events
MethodIdentifierChanged
Gets fired when the MethodIdentifier property changed its value
public event EventHandler<ValueChangedEventArgs> MethodIdentifierChanged
Event Type
MethodIdentifierChanging
Gets fired before the MethodIdentifier property changes its value
public event EventHandler<ValueChangedEventArgs> MethodIdentifierChanging
Event Type
StrategyChanged
Gets fired when the Strategy property changed its value
public event EventHandler<ValueChangedEventArgs> StrategyChanged
Event Type
StrategyChanging
Gets fired before the Strategy property changes its value
public event EventHandler<ValueChangedEventArgs> StrategyChanging