| GenericExtensions Class | 
Namespace: Lithnet.MetadirectoryServices
The GenericExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AppendWithCommaSeparator | 
            Appends two string together with a comma and a space
              | |
| AppendWithSeparator | 
            Appends two string together with a comma and a space
              | |
| ContainsSameElementsT | 
            Gets a value indicating whether two enumerations contain the same elements, even if they are in different orders
              | |
| ConvertToUnsecureString | 
            Converts a secure string back to its standard string representation
              | |
| ToAttributeType | 
            Converts an ExtendedAttributeType value to its equivalent MetadirectoryServices AttributeType
              | |
| ToCommaSeparatedString | 
            Converts an enumeration of strings into a comma separated list
              | |
| ToExtendedAttributeType | 
            Converts an AttributeType value to its equivalent ExtendedAttributeType value
              | |
| ToList | 
            Converts a ValueCollection to a generic list of objects
              | |
| ToNewLineSeparatedString | 
            Converts an enumeration of strings into a comma separated list
              | |
| ToResourceManagementServiceDateFormat(DateTime) | 
            Converts a date time to the ISO 8601 date string required by the Resource Management Service
              | |
| ToResourceManagementServiceDateFormat(DateTime, Boolean, Boolean) | 
            Converts a date time to the ISO 8601 date string required by the Resource Management Service
              | |
| ToSeparatedString | 
            Converts an enumeration of strings into a comma separated list
              | |
| ToSmartString | 
            Gets an informative string representation of an object
              | |
| ToSmartStringOrEmptyString | 
            Gets an informative string representation of an object
              | |
| ToSmartStringOrNull | 
            Gets an informative string representation of an object
              | |
| Truncate | Truncates a DateTime to a specified resolution. A convenient source for resolution is TimeSpan.TicksPerXXXX constants.  | |
| TruncateString | 
            Truncates a string to the specified length
              | 
| Name | Description | |
|---|---|---|
| ResourceManagementServiceDateFormat | 
            A .NET custom format string that represents the ISO8601 date format that is used by the FIM Service
              | |
| ResourceManagementServiceDateFormatZeroedMilliseconds | 
            A .NET custom format string that represents the ISO8601 date format that is used by the FIM Service, but has the milliseconds component set to '0'
              |