Class SeparatorCombination
Class used to define separator combinations to numberic tokens
Inheritance
System.Object
SeparatorCombination
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Core.LanguageProcessing.Tokenization
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class SeparatorCombination : ICloneable
Constructors
SeparatorCombination()
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 |
---|---|---|
System.Globalization.CultureInfo | culture | |
System.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 |
---|---|---|
System.String | groupSeparators | |
System.String | decimalSeparators | |
System.Boolean | augmentGroupSeparators |
Properties
DecimalSeparators
Declaration
public string DecimalSeparators { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GroupSeparators
Declaration
public string GroupSeparators { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
System.ICloneable.Clone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a deep copy of this instance. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.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 |
---|---|
System.Boolean |
Implements
System.ICloneable