Class EStringToStringMapEntry
The default implementation of the EStringToStringMapEntry class
Inherited Members
Namespace: NMF.Interop.Ecore
Assembly: NMF.EcoreInterop.dll
Syntax
[XmlNamespace("http://www.eclipse.org/emf/2002/Ecore")]
[XmlNamespacePrefix("ecore")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry/")]
public class EStringToStringMapEntry : ModelElement, IEStringToStringMapEntry, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Properties
| Edit this page View SourceClassInstance
Gets the Class model for this type
Declaration
public static IClass ClassInstance { get; }
Property Value
Type | Description |
---|---|
IClass |
Key
The key property
Declaration
[XmlElementName("key")]
[XmlAttribute(true)]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
The value property
Declaration
[XmlElementName("value")]
[XmlAttribute(true)]
public virtual string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetAttributeValue(string, int)
Resolves the given attribute name
Declaration
protected override object GetAttributeValue(string attribute, int index)
Parameters
Type | Name | Description |
---|---|---|
string | attribute | The requested attribute name |
int | index | The index of this attribute |
Returns
Type | Description |
---|---|
object | The attribute value or null if it could not be found |
Overrides
| Edit this page View SourceGetClass()
Gets the Class for this model element
Declaration
public override IClass GetClass()
Returns
Type | Description |
---|---|
IClass |
Overrides
| Edit this page View SourceOnKeyChanged(ValueChangedEventArgs)
Raises the KeyChanged event
Declaration
protected virtual void OnKeyChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnKeyChanging(ValueChangedEventArgs)
Raises the KeyChanging event
Declaration
protected virtual void OnKeyChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnValueChanged(ValueChangedEventArgs)
Raises the ValueChanged event
Declaration
protected virtual void OnValueChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnValueChanging(ValueChangedEventArgs)
Raises the ValueChanging event
Declaration
protected virtual void OnValueChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
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
Events
| Edit this page View SourceKeyChanged
Gets fired when the Key property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> KeyChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
KeyChanging
Gets fired before the Key property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> KeyChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
ValueChanged
Gets fired when the Value property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> ValueChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
ValueChanging
Gets fired before the Value property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> ValueChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |