Class MethodConstructor
A method constructor.
Inheritance
System.Object
MethodConstructor
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.Model.Runtime.Construction
Assembly: Kephas.Model.dll
Syntax
[ProcessingPriority(Priority.Low)]
public class MethodConstructor : ModelElementConstructorBase<Method, IMethod, IRuntimeMethodInfo>, IRuntimeModelElementConstructor<Method, IMethod, IRuntimeMethodInfo>, IRuntimeModelElementConstructor
Methods
| Improve this Doc View SourceComputeMemberParameters(IModelConstructionContext, IRuntimeMethodInfo)
Computes the member parameters from the runtime element.
Declaration
protected virtual IEnumerable<INamedElement> ComputeMemberParameters(IModelConstructionContext constructionContext, IRuntimeMethodInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | The model construction context. |
IRuntimeMethodInfo | runtimeElement | The runtime member information. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<INamedElement> | An enumeration of INamedElement. |
ComputeMembers(IModelConstructionContext, IRuntimeMethodInfo)
Computes the members from the runtime element.
Declaration
protected override IEnumerable<INamedElement> ComputeMembers(IModelConstructionContext constructionContext, IRuntimeMethodInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | The model construction context. |
IRuntimeMethodInfo | runtimeElement | The runtime member information. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<INamedElement> | An enumeration of INamedElement. |
Overrides
Kephas.Model.Runtime.Construction.ModelElementConstructorBase<Kephas.Model.Elements.Method, Kephas.Model.IMethod, Kephas.Runtime.IRuntimeMethodInfo>.ComputeMembers(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeMethodInfo)
|
Improve this Doc
View Source
TryCreateModelElementCore(IModelConstructionContext, IRuntimeMethodInfo)
Core implementation of trying to get the element information.
Declaration
protected override Method TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeMethodInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeMethodInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
Method | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Elements.Method, Kephas.Model.IMethod, Kephas.Runtime.IRuntimeMethodInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeMethodInfo)