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 TranslationValueEventArgs

    Contains the arguments of the TranslationValueNeeded, TranslationValueFound, and TranslationValueNotFound events.

    Inheritance
    object
    EventArgs
    TranslationValueEventArgs
    Inherited Members
    EventArgs.Empty
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tlumach
    Assembly: Tlumach.dll
    Syntax
    public class TranslationValueEventArgs : EventArgs

    Constructors

    TranslationValueEventArgs(CultureInfo, string)

    Declaration
    public TranslationValueEventArgs(CultureInfo culture, string key)
    Parameters
    Type Name Description
    CultureInfo culture
    string key

    Properties

    Culture

    Gets a reference to the culture, for which the text is needed.

    Declaration
    public CultureInfo Culture { get; }
    Property Value
    Type Description
    CultureInfo

    Entry

    May be set to the instance of the TranslationEntry class that corresponds to the specified Key and Culture and contains the requested text; alternatively, Text may be set.

    Declaration
    public TranslationEntry? Entry { get; set; }
    Property Value
    Type Description
    TranslationEntry

    EscapedText

    May be set to the escaped text value that corresponds to the specified Key and Culture; alternatively, Entry may be set. This parameter may be set instead of Text, in which case, it will be un-escaped and also will be used during template processing (if required).

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

    Key

    Gets the key of the requested translation entry.

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

    Text

    Should be set to the text value that corresponds to the specified Key and Culture; alternatively, EscapedText or Entry may be set.

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