Class PermissionLocalizer
class representing localization information for a permission.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.Localization.Default
Assembly: TimeCockpit.Data.dll
Syntax
public class PermissionLocalizer : ModelElementLocalizer
Constructors
PermissionLocalizer(String)
Initializes a new instance of the PermissionLocalizer class.
Declaration
public PermissionLocalizer(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the permission. |
PermissionLocalizer(PermissionLocalizer)
Initializes a new instance of the PermissionLocalizer class.
Declaration
public PermissionLocalizer(PermissionLocalizer source)
Parameters
Type | Name | Description |
---|---|---|
PermissionLocalizer | source | the source to copy from. |
Properties
ErrorMessage
Gets the localization information for the error message property.
Declaration
public StringLocalizer ErrorMessage { get; }
Property Value
Type | Description |
---|---|
StringLocalizer |
Methods
Accept(LocalizerVisitor)
accepts the localizer.
Declaration
public override void Accept(LocalizerVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
LocalizerVisitor | visitor | the visitor to accept. |
Overrides
Clone()
clones this instances.
Declaration
public override ModelElementLocalizer Clone()
Returns
Type | Description |
---|---|
ModelElementLocalizer | Returns a copy-constructed instance of itself. |
Overrides
MergeFrom(ModelElementLocalizer)
merges from the source
Declaration
public override void MergeFrom(ModelElementLocalizer source)
Parameters
Type | Name | Description |
---|---|---|
ModelElementLocalizer | source | the source to merge from. |
Overrides
RemoveLocalizations()
removes all cultures from the elements specific to this localizer.
Declaration
public override void RemoveLocalizations()