Search Results for

    Show / Hide Table of Contents

    Class TMXReaderSettings

    Inheritance
    System.Object
    TMXReaderSettings
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.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, Boolean, Boolean, Boolean)

    Declaration
    public TMXReaderSettings(TUStreamContext context, bool validateAgainstSchema, bool resolveNeutralCultures, bool plainText)
    Parameters
    Type Name Description
    TUStreamContext context
    System.Boolean validateAgainstSchema
    System.Boolean resolveNeutralCultures
    System.Boolean 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
    System.Collections.Generic.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
    System.Boolean

    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
    System.Boolean

    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
    System.Boolean

    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
    System.Boolean

    On this page

    • Constructors
      • TMXReaderSettings()
      • TMXReaderSettings(TUStreamContext)
      • TMXReaderSettings(TUStreamContext, Boolean, Boolean, Boolean)
    • Properties
      • CleanupMode
      • Context
      • FieldIdentifierMappings
      • PlainText
      • ResolveNeutralCultures
      • SkipUnknownCultures
      • ValidateAgainstSchema
    Back to top Generated by DocFX