Tlumach
  • Articles
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Tlumach
      • Base
        • ArbParser
        • ArbPlaceholder
        • BaseGenerator
        • BaseJsonParser
        • BaseKeyValueParser
        • BaseParser
        • BaseTableParser
        • BaseXMLParser
        • CsvParser
        • CultureNameMatchEventArgs
        • FileFormats
        • GenericParserException
        • IniParser
        • JsonParser
        • ParserConfigException
        • ParserFileException
        • ParserLoadException
        • Placeholder
        • ResxParser
        • TemplateParserException
        • TemplateProcessingException
        • TextFileParseException
        • TextFormat
        • TextParseException
        • TlumachException
        • TomlParser
        • Translation
        • TranslationConfiguration
        • TranslationEntry
        • TranslationTree
        • TranslationTreeLeaf
        • TranslationTreeNode
        • TsvParser
        • Utils
      • BaseTranslationUnit
      • CultureChangedEventArgs
      • FileContentNeededEventArgs
      • TemplatedTranslationUnit
      • TranslationManager
      • TranslationUnit
      • TranslationValueEventArgs

    Class Placeholder

    Represents a single placeholder within a templated entry.

    Inheritance
    object
    Placeholder
    ArbPlaceholder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tlumach.Base
    Assembly: Tlumach.Base.dll
    Syntax
    public class Placeholder

    Constructors

    Placeholder(string)

    Initializes a new instance of the Placeholder class.

    Declaration
    public Placeholder(string name)
    Parameters
    Type Name Description
    string name

    The name of the placeholder.

    Properties

    Example

    Gets or sets the example if one was provided in the translation file.

    Declaration
    public string? Example { get; protected set; }
    Property Value
    Type Description
    string

    Format

    Gets or sets the format of the placeholder as specified in the translation file.

    Declaration
    public string? Format { get; protected set; }
    Property Value
    Type Description
    string

    Name

    Gets or sets the name of the placeholder.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    OptionalParameters

    Contains optional parameters as provided in the "optionalParameters" object for the placeholder in the translation file.

    Declaration
    public Dictionary<string, string> OptionalParameters { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    Properties

    Contains additional (unrecognized) properties provided for the placeholder in the translation file.

    Declaration
    public Dictionary<string, string> Properties { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    Type

    Gets or sets the type of the placeholder as specified in the translation file.

    Declaration
    public string? Type { get; protected set; }
    Property Value
    Type Description
    string
    In this article
    Back to top Generated by DocFX