Search Results for

    Show / Hide Table of Contents

    Class TMXReaderSettings

    Inheritance
    object
    TMXReaderSettings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.IO.TMX
    Assembly: Sdl.LanguagePlatform.IO.dll
    Syntax
    public class TMXReaderSettings

    Constructors

    TMXReaderSettings()

    Declaration
    public TMXReaderSettings()

    TMXReaderSettings(TUStreamContext)

    Declaration
    public TMXReaderSettings(TUStreamContext context)
    Parameters
    Type Name Description
    TUStreamContext context

    TMXReaderSettings(TUStreamContext, bool, bool, bool)

    Declaration
    public TMXReaderSettings(TUStreamContext context, bool validateAgainstSchema, bool resolveNeutralCultures, bool plainText)
    Parameters
    Type Name Description
    TUStreamContext context
    bool validateAgainstSchema
    bool resolveNeutralCultures
    bool plainText

    Properties

    CleanupMode

    Declaration
    public ImportSettings.ImportTUProcessingMode CleanupMode { get; set; }
    Property Value
    Type Description
    ImportSettings.ImportTUProcessingMode

    Context

    The input stream context which is a container for new fields and values.

    Declaration
    public TUStreamContext Context { get; }
    Property Value
    Type Description
    TUStreamContext

    FieldIdentifierMappings

    Gets or sets the field identifier mappings; old field identifier, new field identifier. Field identifier mapping immediately maps the field identifier read to another field identifier.

    Declaration
    public IDictionary<FieldIdentifier, FieldIdentifier> FieldIdentifierMappings { get; set; }
    Property Value
    Type Description
    IDictionary<FieldIdentifier, FieldIdentifier>

    PlainText

    Gets or sets a value indicating whether only plain text should be imported. If true, all the tags are ignored, if false, the content is imported without changes.

    Declaration
    public bool PlainText { get; set; }
    Property Value
    Type Description
    bool

    ResolveNeutralCultures

    Controls whether or not region-neutral cultures ("en") are resolved to their default region-specific culture ("en-US")

    Declaration
    public bool ResolveNeutralCultures { get; set; }
    Property Value
    Type Description
    bool

    SkipUnknownCultures

    Controls whether unknown cultures are skipped during TMX processing, or whether unknown cultures will raise an exception (default).

    Declaration
    public bool SkipUnknownCultures { get; set; }
    Property Value
    Type Description
    bool

    ValidateAgainstSchema

    Controls whether the input will be verified against the TMX 1.4b schema. If false, the TMX input version number is ignored and no schema verification takes place.

    Declaration
    public bool ValidateAgainstSchema { get; set; }
    Property Value
    Type Description
    bool
    In this article
    • Constructors
      • TMXReaderSettings()
      • TMXReaderSettings(TUStreamContext)
      • TMXReaderSettings(TUStreamContext, bool, bool, bool)
    • Properties
      • CleanupMode
      • Context
      • FieldIdentifierMappings
      • PlainText
      • ResolveNeutralCultures
      • SkipUnknownCultures
      • ValidateAgainstSchema
    Back to top Generated by DocFX