Class SeparatorCombination
Class used to define separator combinations to numberic tokens
Inheritance
Object
SeparatorCombination
Implements
ICloneable
Inherited Members
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.Core.LanguageProcessing.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class SeparatorCombination : ICloneable
Constructors
SeparatorCombination()
Class used to define separator combinations to numberic tokens
Declaration
public SeparatorCombination()
SeparatorCombination(CultureInfo, Boolean)
If true, blanks/nbsp's will be interchangeable
Declaration
public SeparatorCombination(CultureInfo culture, bool augmentGroupSeparators)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture | |
Boolean | augmentGroupSeparators |
SeparatorCombination(String, String, Boolean)
If true, blanks/nbsp's will be interchangeable
Declaration
public SeparatorCombination(string groupSeparators, string decimalSeparators, bool augmentGroupSeparators)
Parameters
Type | Name | Description |
---|---|---|
String | groupSeparators | |
String | decimalSeparators | |
Boolean | augmentGroupSeparators |
Properties
DecimalSeparators
Class used to define separator combinations to numberic tokens
Declaration
public string DecimalSeparators { get; set; }
Property Value
Type | Description |
---|---|
String |
GroupSeparators
Class used to define separator combinations to numberic tokens
Declaration
public string GroupSeparators { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Clone()
System.ICloneable.Clone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
Object | A new object that is a deep copy of this instance. |
Equals(Object)
Class used to define separator combinations to numberic tokens
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Class used to define separator combinations to numberic tokens
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
System.Object.GetHashCode()
IsSwappable()
true iff one separator is the full stop and the other is the comma
Declaration
public bool IsSwappable()
Returns
Type | Description |
---|---|
Boolean |
Implements
System.ICloneable