ExtensionMethods Class |
Namespace: Accord
The ExtensionMethods type exposes the following members.
Name | Description | |
---|---|---|
Add(DataColumnCollection, OrderedDictionaryString, Type) |
Creates and adds multiple DataColumn
objects with the given names at once.
| |
Add(DataColumnCollection, String) |
Creates and adds multiple DataColumn
objects with the given names at once.
| |
AddressOfT |
Retrieves the memory address of a generic value type.
| |
DeserializeAnyVersionT | Obsolete.
Deserializes the specified stream into an object graph, but locates
types by searching all loaded assemblies and ignoring their versions.
| |
Format |
Replaces the format item in a specified string with the string
representation of a corresponding object in a specified array.
| |
GetDefaultValue |
Gets the default value for a type. This method should serve as
a programmatic equivalent to default(T).
| |
GetDescriptionT |
Gets a the value of a DescriptionAttribute
associated with a particular enumeration value.
| |
GetPosition |
Gets the underlying buffer position for a StreamReader.
| |
HasDefaultConstructor |
Determines whether the given type has a public default (parameterless) constructor.
| |
HasMethod(Object, String) |
Checks whether an object implements a method with the given name.
| |
HasMethodT(String) |
Checks whether a type implements a method with the given name.
| |
IsEqualTKey, TValue |
Checks whether two dictionaries have the same contents.
| |
IsGreaterThanT |
Determines whether a > b.
| |
IsGreaterThanOrEqualT |
Determines whether a >= b.
| |
IsLessThanT |
Determines whether a < b.
| |
IsLessThanOrEqualT |
Determines whether a <= b.
| |
ReadT |
Reads a struct from a stream.
| |
ReadJaggedT |
Reads a struct from a stream.
| |
ReadMatrix(BinaryReader, Type, Int32) |
Reads a struct from a stream.
| |
ReadMatrixT(BinaryReader, Int32, Int32) |
Reads a struct from a stream.
| |
To(Object, Type) |
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
| |
ToT(Object) |
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
| |
WriteT(BinaryWriter, T) |
Reads a struct from a stream.
| |
WriteT(BinaryWriter, T) |
Reads a struct from a stream.
| |
WriteT(BinaryWriter, T) |
Reads a struct from a stream.
|