Class TokenizationContext
Inheritance
System.Object
TokenizationContext
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.Core.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class TokenizationContext
Constructors
TokenizationContext(CultureInfo, Dictionary<DateTimePatternType, List<String>>, List<SeparatorCombination>, Dictionary<String, CustomUnitDefinition>, List<CurrencyFormat>)
Declaration
public TokenizationContext(CultureInfo culture, Dictionary<DateTimePatternType, List<string>> dateTimeFormats, List<SeparatorCombination> separatorCombinations, Dictionary<string, CustomUnitDefinition> unitDefinitions, List<CurrencyFormat> currencyFormats)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | culture | |
System.Collections.Generic.Dictionary<DateTimePatternType, System.Collections.Generic.List<System.String>> | dateTimeFormats | |
System.Collections.Generic.List<SeparatorCombination> | separatorCombinations | |
System.Collections.Generic.Dictionary<System.String, CustomUnitDefinition> | unitDefinitions | |
System.Collections.Generic.List<CurrencyFormat> | currencyFormats |
Properties
Culture
Declaration
public CultureInfo Culture { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
CurrencyFormats
Declaration
public List<CurrencyFormat> CurrencyFormats { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CurrencyFormat> |
DateTimeFormats
Declaration
public Dictionary<DateTimePatternType, List<string>> DateTimeFormats { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<DateTimePatternType, System.Collections.Generic.List<System.String>> |
SeparatorCombinations
Declaration
public List<SeparatorCombination> SeparatorCombinations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SeparatorCombination> |
UnitDefinitions
Declaration
public Dictionary<string, CustomUnitDefinition> UnitDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, CustomUnitDefinition> |