Class MessageTypeConstructor
Classifier constructor for MessageType.
Inheritance
System.Object
MessageTypeConstructor
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Messaging.Model.Runtime.Construction
Assembly: Kephas.Messaging.Model.dll
Syntax
public class MessageTypeConstructor : ClassifierConstructorBase<MessageType, IMessageType>, IRuntimeModelElementConstructor<MessageType, IMessageType, IRuntimeTypeInfo>, IRuntimeModelElementConstructor
Methods
| Improve this Doc View SourceCanCreateModelElement(IModelConstructionContext, IRuntimeTypeInfo)
Determines whether a model element can be created for the provided runtime element.
Declaration
protected override bool CanCreateModelElement(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
Kephas.Model.Runtime.Construction.ClassifierConstructorBase<Kephas.Messaging.Model.Elements.MessageType, Kephas.Messaging.Model.IMessageType>.CanCreateModelElement(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)
|
Improve this Doc
View Source
TryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
Core implementation of trying to get the element information.
Declaration
protected override MessageType TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
MessageType | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Messaging.Model.Elements.MessageType, Kephas.Messaging.Model.IMessageType, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)