Click or drag to resize
GenericExtensions Methods

The GenericExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAppendWithCommaSeparator
Appends two string together with a comma and a space
Public methodStatic memberAppendWithSeparator
Appends two string together with a comma and a space
Public methodStatic memberContainsSameElementsT
Gets a value indicating whether two enumerations contain the same elements, even if they are in different orders
Public methodStatic memberConvertToUnsecureString
Converts a secure string back to its standard string representation
Public methodStatic memberToAttributeType
Converts an ExtendedAttributeType value to its equivalent MetadirectoryServices AttributeType
Public methodStatic memberToCommaSeparatedString
Converts an enumeration of strings into a comma separated list
Public methodStatic memberToExtendedAttributeType
Converts an AttributeType value to its equivalent ExtendedAttributeType value
Public methodStatic memberToList
Converts a ValueCollection to a generic list of objects
Public methodStatic memberToNewLineSeparatedString
Converts an enumeration of strings into a comma separated list
Public methodStatic memberToResourceManagementServiceDateFormat(DateTime)
Converts a date time to the ISO 8601 date string required by the Resource Management Service
Public methodStatic memberToResourceManagementServiceDateFormat(DateTime, Boolean, Boolean)
Converts a date time to the ISO 8601 date string required by the Resource Management Service
Public methodStatic memberToSeparatedString
Converts an enumeration of strings into a comma separated list
Public methodStatic memberToSmartString
Gets an informative string representation of an object
Public methodStatic memberToSmartStringOrEmptyString
Gets an informative string representation of an object
Public methodStatic memberToSmartStringOrNull
Gets an informative string representation of an object
Public methodStatic memberTruncate

Truncates a DateTime to a specified resolution.

A convenient source for resolution is TimeSpan.TicksPerXXXX constants.

Public methodStatic memberTruncateString
Truncates a string to the specified length
Top
See Also