ExtensionMethods Methods |
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
GetAttributeOfTypeT |
Gets an attribute on an enum field value
| |
GetLinkerTimeUTC |
Gets the linker time of the assembly specified, in UTC.
| |
PaddingCounterToString |
Converts the specified int to string if it's larger than 0, otherwise it will return the empty string. Usable for padding counters
| |
ToFilteringBindingListT |
Converts the passed in enumerable to a FilteringBindingList
| |
ToFriendlyName(Type) |
Converts the type in a friendly name. Converts the name of the generic type into proper generic name for code generation.
| |
ToFriendlyName(Type, String) |
Converts the type in a friendly name. Converts the name of the generic type into proper generic name for code generation.
| |
ToListSafeT |
Converts the passed in enumerable to a List(Of T). If toEnumerate is a CommandifiedList(Of T) it will lock on its SyncRoot if it's a synchronized CommandifiedList.
if it's not a commandified list, it will simply call ToList() on the enumerable. If toEnumerate is null, null is returned.
| |
ToMemoryStream |
Converts the specified string into a memory stream, which is pre-positioned at position 0.
| |
ToUniversalDate |
Converts the date in the specified datetime directly to a DateTime with Kind set to Utc. The y/m/d values in toConvert match the ones in the returned struct, the
Kind is only converted and a time fraction is ignored in the toConvert value.
|