Class SerializationInformation
The SerializationInformation extension
Inheritance
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.dll
Syntax
public class SerializationInformation : ModelElementExtension<IMetaElement, SerializationInformation>, IModelElementExtension, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Properties
| Edit this page View SourceIsDefault
The IsDefault property
Declaration
[XmlAttribute(true)]
[TypeConverter(typeof(LowercaseBooleanConverter))]
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
bool |
SerializationName
The SerializationName property
Declaration
[XmlAttribute(true)]
public string SerializationName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceFromMetaElement(IMetaElement)
Gets the SerializationInformation extension from the given model element
Declaration
public static SerializationInformation FromMetaElement(IMetaElement parent)
Parameters
Type | Name | Description |
---|---|---|
IMetaElement | parent | The parent model element that may hold the extension |
Returns
Type | Description |
---|---|
SerializationInformation | The extension object or null, if the model element does not have this extension |
GetExtension()
Gets the extension model element for the given model extension class
Declaration
public override IExtension GetExtension()
Returns
Type | Description |
---|---|
IExtension |
Overrides
| Edit this page View SourceOnIsDefaultChanged(ValueChangedEventArgs)
Raises the IsDefaultChanged event
Declaration
protected virtual void OnIsDefaultChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnIsDefaultChanging(ValueChangedEventArgs)
Raises the IsDefaultChanging event
Declaration
protected virtual void OnIsDefaultChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnSerializationNameChanged(ValueChangedEventArgs)
Raises the SerializationNameChanged event
Declaration
protected virtual void OnSerializationNameChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnSerializationNameChanging(ValueChangedEventArgs)
Raises the SerializationNameChanging event
Declaration
protected virtual void OnSerializationNameChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
Events
| Edit this page View SourceIsDefaultChanged
Gets fired when the IsDefault property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> IsDefaultChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
IsDefaultChanging
Gets fired before the IsDefault property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> IsDefaultChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
SerializationNameChanged
Gets fired when the SerializationName property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> SerializationNameChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
SerializationNameChanging
Gets fired before the SerializationName property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> SerializationNameChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |