Class PermissionTypeConstructor
Classifier constructor for PermissionType.
Inheritance
System.Object
PermissionTypeConstructor
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.Security.Authorization.Runtime.Construction
Assembly: Kephas.Model.dll
Syntax
public class PermissionTypeConstructor : ClassifierConstructorBase<PermissionType, IPermissionType>, IRuntimeModelElementConstructor<PermissionType, IPermissionType, IRuntimeTypeInfo>, IRuntimeModelElementConstructor
Fields
| Improve this Doc View SourcePermissionDiscriminator
The permission discriminator.
Declaration
public const string PermissionDiscriminator = "Permission"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceElementNameDiscriminator
Gets the element name discriminator.
Declaration
protected override string ElementNameDiscriminator { get; }
Property Value
Type | Description |
---|---|
System.String | The element name discriminator. |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Security.Authorization.Elements.PermissionType, Kephas.Model.Security.Authorization.IPermissionType, Kephas.Runtime.IRuntimeTypeInfo>.ElementNameDiscriminator
Remarks
This discriminator can be used as a suffix in the name to identify the element type.
Methods
| Improve this Doc View SourceTryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
Core implementation of trying to get the element information.
Declaration
protected override PermissionType TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
PermissionType | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Model.Security.Authorization.Elements.PermissionType, Kephas.Model.Security.Authorization.IPermissionType, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)