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 ResxParser

    Inheritance
    object
    BaseParser
    BaseXMLParser
    ResxParser
    Inherited Members
    BaseXMLParser.CXmlNamespace
    BaseXMLParser.LoadTranslation(string, CultureInfo)
    BaseXMLParser.ParseConfiguration(string, Assembly)
    BaseParser.RecognizeFileRefs
    BaseParser.UseDefaultFileForTranslations
    BaseParser.StringHasParameters(string, TextFormat)
    BaseParser.LoadTranslationStructure(string, string, out TranslationConfiguration)
    BaseParser.ParseConfigurationFile(string)
    BaseParser.ParseConfigurationFile(Assembly, string)
    BaseParser.ValidateConfiguration(TranslationConfiguration)
    BaseParser.GetAbsolutePosition(string, int, int)
    BaseParser.DecodeTextProcessingMode(string)
    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 ResxParser : BaseXMLParser

    Properties

    LocaleSeparatorChar

    Gets or sets the character that is used to separate the locale name from the base name in the names of locale-specific translation files.

    Declaration
    public static char LocaleSeparatorChar { get; set; }
    Property Value
    Type Description
    char

    Methods

    CanHandleExtension(string)

    Checks whether this parser can handle a translation file with the given extension.

    This method is not used for configuration files.

    Declaration
    public override bool CanHandleExtension(string fileExtension)
    Parameters
    Type Name Description
    string fileExtension

    The extension to check.

    Returns
    Type Description
    bool

    true if the extension is supported and false otherwise.

    Overrides
    BaseParser.CanHandleExtension(string)

    GetLocaleSeparatorChar()

    Declaration
    public override char GetLocaleSeparatorChar()
    Returns
    Type Description
    char
    Overrides
    BaseParser.GetLocaleSeparatorChar()

    GetTextProcessingMode()

    Declaration
    protected override TextFormat GetTextProcessingMode()
    Returns
    Type Description
    TextFormat
    Overrides
    BaseParser.GetTextProcessingMode()

    InternalLoadTranslationEntriesFromXML(XElement, Translation?, string)

    Declaration
    protected override Translation InternalLoadTranslationEntriesFromXML(XElement parentNode, Translation? translation, string groupName)
    Parameters
    Type Name Description
    XElement parentNode
    Translation translation
    string groupName
    Returns
    Type Description
    Translation
    Overrides
    BaseXMLParser.InternalLoadTranslationEntriesFromXML(XElement, Translation?, string)

    InternalLoadTranslationStructure(string)

    Loads the keys from the default translation file and builds a tree of keys.

    Declaration
    protected override TranslationTree? InternalLoadTranslationStructure(string content)
    Parameters
    Type Name Description
    string content

    The content to parse.

    Returns
    Type Description
    TranslationTree

    The constructed TranslationTree upon success or null otherwise.

    Overrides
    BaseParser.InternalLoadTranslationStructure(string)
    Exceptions
    Type Condition
    TextParseException

    Gets thrown when parsing of a default translation file fails.

    Use()

    Initializes the parser class, making it available for use.

    Declaration
    public static void Use()
    In this article
    Back to top Generated by DocFX