Click or drag to resize

Utility Methods

The Utility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCloneT
Clones the specified list.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFirstOrDefaultT(ListT)
Gets the first element in the list or the default value if the list is null or empty.
Public methodStatic memberFirstOrDefaultT(T)
Gets the first element in the array or the default value if the array is null or empty.
Public methodStatic memberFormatDoubleAsPercent
Formats a double as a percentage string.
Public methodStatic memberGenerateSynchronizationSource
Generates a synchronization source.
Public methodStatic memberGenerateTieBreaker
Generates a Connection Tie-breaker.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberLastOrDefaultT(ListT)
Gets the last element in the list or the default value if the list is null or empty.
Public methodStatic memberLastOrDefaultT(T)
Gets the last element in the array or the default value if the array is null or empty.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberToListT
Converts an array to a list.
Public methodToString (Inherited from Object.)
Public methodStatic memberTreeFindLeavesT
Enumerates over all nodes in the tree, invoking the callback for each one.
Public methodStatic memberTreeSearchT
Enumerates over all nodes in the tree, invoking the callback for each one.
Top
See Also