Click or drag to resize
Accord.NET (logo)

ExtensionMethods Class

Static class for utility extension methods.
Inheritance Hierarchy
SystemObject
  AccordExtensionMethods

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static class ExtensionMethods
Request Example View Source

The ExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleAdd(DataColumnCollection, OrderedDictionaryString, Type)
Creates and adds multiple DataColumn objects with the given names at once.
Public methodStatic memberCode exampleAdd(DataColumnCollection, String)
Creates and adds multiple DataColumn objects with the given names at once.
Public methodStatic memberAddressOfT
Retrieves the memory address of a generic value type.
Public methodStatic memberDeserializeAnyVersionT Obsolete.
Deserializes the specified stream into an object graph, but locates types by searching all loaded assemblies and ignoring their versions.
Public methodStatic memberFormat
Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
Public methodStatic memberGetDefaultValue
Gets the default value for a type. This method should serve as a programmatic equivalent to default(T).
Public methodStatic memberGetDescriptionT
Gets a the value of a DescriptionAttribute associated with a particular enumeration value.
Public methodStatic memberGetPosition
Gets the underlying buffer position for a StreamReader.
Public methodStatic memberHasDefaultConstructor
Determines whether the given type has a public default (parameterless) constructor.
Public methodStatic memberHasMethod(Object, String)
Checks whether an object implements a method with the given name.
Public methodStatic memberHasMethodT(String)
Checks whether a type implements a method with the given name.
Public methodStatic memberIsEqualTKey, TValue
Checks whether two dictionaries have the same contents.
Public methodStatic memberIsGreaterThanT
Determines whether a > b.
Public methodStatic memberIsGreaterThanOrEqualT
Determines whether a >= b.
Public methodStatic memberIsLessThanT
Determines whether a < b.
Public methodStatic memberIsLessThanOrEqualT
Determines whether a <= b.
Public methodStatic memberReadT
Reads a struct from a stream.
Public methodStatic memberReadJaggedT
Reads a struct from a stream.
Public methodStatic memberReadMatrix(BinaryReader, Type, Int32)
Reads a struct from a stream.
Public methodStatic memberReadMatrixT(BinaryReader, Int32, Int32)
Reads a struct from a stream.
Public methodStatic memberTo(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.
Public methodStatic memberToT(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.
Public methodStatic memberWriteT(BinaryWriter, T)
Reads a struct from a stream.
Public methodStatic memberWriteT(BinaryWriter, T)
Reads a struct from a stream.
Public methodStatic memberWriteT(BinaryWriter, T)
Reads a struct from a stream.
Top
See Also