Click or drag to resize
NumberToken Methods

The NumberToken type exposes the following members.

Methods
  NameDescription
Public methodAcceptSegmentElementVisitor
Visitor pattern implementation. Calls VisitNumberToken(NumberToken).
(Overrides SegmentElementAcceptSegmentElementVisitor(ISegmentElementVisitor).)
Public methodDuplicate (Overrides SegmentElementDuplicate.)
Public methodEquals
Equals(object)
(Overrides TokenEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormatNumber(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.
Public methodFormatNumber(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.
Public methodGetHashCode
GetHashCode(object)
(Overrides TokenGetHashCode.)
Public methodGetSimilarity (Overrides SegmentElementGetSimilarity(SegmentElement).)
Protected methodGetTokenType (Overrides TokenGetTokenType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWeakHashCode (Inherited from Token.)
Public methodLocalize(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.

Public methodLocalize(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.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetTokenType (Inherited from Token.)
Public methodSetValue(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.
Public methodSetValue(String, String, String, NumberFormatInfo)
Overwrites the current token values with the specified values.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments