Table of Contents

Class PermissionLocalizer

Namespace
TimeCockpit.Data.Localization.Default
Assembly
TimeCockpit.Data.dll

class representing localization information for a permission.

public class PermissionLocalizer : ModelElementLocalizer
Inheritance
Object
PermissionLocalizer
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Extension Methods

Constructors

PermissionLocalizer(String)

Initializes a new instance of the PermissionLocalizer class.

public PermissionLocalizer(string name)

Parameters

name String

the name of the permission.

PermissionLocalizer(PermissionLocalizer)

Initializes a new instance of the PermissionLocalizer class.

public PermissionLocalizer(PermissionLocalizer source)

Parameters

source PermissionLocalizer

the source to copy from.

Properties

ErrorMessage

Gets the localization information for the error message property.

public StringLocalizer ErrorMessage { get; }

Property Value

StringLocalizer

Methods

Accept(LocalizerVisitor)

accepts the localizer.

public override void Accept(LocalizerVisitor visitor)

Parameters

visitor LocalizerVisitor

the visitor to accept.

Clone()

clones this instances.

public override ModelElementLocalizer Clone()

Returns

ModelElementLocalizer

Returns a copy-constructed instance of itself.

MergeFrom(ModelElementLocalizer)

merges from the source

public override void MergeFrom(ModelElementLocalizer source)

Parameters

source ModelElementLocalizer

the source to merge from.

RemoveLocalizations()

removes all cultures from the elements specific to this localizer.

public override void RemoveLocalizations()