Click or drag to resize

ExtensionMethods Class

Extension methods for Core specific classes.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.CoreExtensionMethods

Namespace:  SD.LLBLGen.Pro.Core
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static class ExtensionMethods

The ExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetAttributeOfTypeT
Gets an attribute on an enum field value
Public methodStatic memberGetLinkerTimeUTC
Gets the linker time of the assembly specified, in UTC.
Public methodStatic memberPaddingCounterToString
Converts the specified int to string if it's larger than 0, otherwise it will return the empty string. Usable for padding counters
Public methodStatic memberToFilteringBindingListT
Converts the passed in enumerable to a FilteringBindingList
Public methodStatic memberToFriendlyName(Type)
Converts the type in a friendly name. Converts the name of the generic type into proper generic name for code generation.
Public methodStatic memberToFriendlyName(Type, String)
Converts the type in a friendly name. Converts the name of the generic type into proper generic name for code generation.
Public methodStatic memberToListSafeT
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.
Public methodStatic memberToMemoryStream
Converts the specified string into a memory stream, which is pre-positioned at position 0.
Public methodStatic memberToUniversalDate
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.
Top
See Also