| NumberToken Methods |
The NumberToken type exposes the following members.
| Name | Description | |
|---|---|---|
| AcceptSegmentElementVisitor |
Visitor pattern implementation. Calls VisitNumberToken(NumberToken).
(Overrides SegmentElementAcceptSegmentElementVisitor(ISegmentElementVisitor).) | |
| Duplicate |
See Duplicate (Overrides SegmentElementDuplicate.) | |
| Equals | Equals(object) (Overrides TokenEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FormatNumber(CultureInfo) |
Format the number according to the provided culture, applying overrides for
separators as appropriate. This method uses a proprietary implementation for
the formatting and does not use the default .Net formatting methods.
| |
| FormatNumber(NumberFormatInfo) |
Format the number according to the provided number format information, applying overrides for
separators as appropriate. This method uses a proprietary implementation for
the formatting and does not use the default .Net formatting methods.
| |
| GetHashCode | GetHashCode(object) (Overrides TokenGetHashCode.) | |
| GetSimilarity | (Overrides SegmentElementGetSimilarity(SegmentElement).) | |
| GetTokenType | (Overrides TokenGetTokenType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetWeakHashCode |
See GetWeakHashCode (Inherited from Token.) | |
| Localize(CultureInfo, AutoLocalizationSettings) |
Auto-localizes the token according to the settings of the specified target culture
and the provided auto-localization settings. The text of the token will be changed,
but not the values.
For some token types, special AutoLocalizationSettings will be used, if provided. | |
| Localize(CultureInfo, AutoLocalizationSettings, ILocalizableToken, Boolean) |
Auto-localizes the token according to the settings of the specified target culture
and the provided auto-localization settings. The text of the token will be changed,
but not the values.
For some token types, special AutoLocalizationSettings will be used, if provided. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetTokenType | (Inherited from Token.) | |
| SetValue(Token, Boolean) |
Overwrites the current token's value with the value from blueprint, which
also must be a DateTimeToken. Note that only the value and the type are
overwritten, not the textual representation.
| |
| SetValue(String, String, String, NumberFormatInfo) |
Overwrites the current token values with the specified values.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |