Click or drag to resize
TokenBundle Methods

The TokenBundle type exposes the following members.

Methods
  NameDescription
Public methodAcceptSegmentElementVisitor
Invalid for this class. Will throw a InvalidOperationException
(Overrides SegmentElementAcceptSegmentElementVisitor(ISegmentElementVisitor).)
Public methodAdd(Token, Int32)
Adds a new token to the set of alternatives. Potential duplicates are kept.
Public methodAdd(Token, Int32, Boolean)
Adds a new token to the set of alternatives.
Public methodContains
Determines whether the specified token is contained in the set of alternatives.
Public methodDuplicate
Invalid for this class. Will throw a InvalidOperationException
(Overrides SegmentElementDuplicate.)
Public methodEquals
Equals(object)
(Inherited from Token.)
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 methodGetBest
Obtains the token with the highest priority in the set of alternatives. If two tokens have the same priority, the first one will be the winner.
Public methodGetEnumerator
Gets an enumerator to iterate through the list of alternatives.
Public methodGetHashCode
GetHashCode(object)
(Inherited from Token.)
Public methodGetSimilarity
GetSimilarity(SegmentElement). Returns the highest similarity to any of the alternatives.
(Overrides SegmentElementGetSimilarity(SegmentElement).)
Protected methodGetTokenType
Type. Returns the token type of the first alternative in the collection. However, be aware that the alternatives may represent different token types.
(Overrides TokenGetTokenType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWeakHashCode (Inherited from Token.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetTokenType (Inherited from Token.)
Public methodSortByDecreasingPriority
Sorts the set of alternatives by decreasing priority.
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