Click or drag to resize
DigitalRuneObjectHelper Class
Provides extension methods applicable to all objects.
Inheritance Hierarchy
System.Object
  DigitalRune.ObjectHelper

Namespace: DigitalRune
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static class ObjectHelper

The ObjectHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanParse
Determines the ObjectHelperParse methods can parse the given type.
Public methodStatic memberConvertTo<T>(Object)
Converts the object to the specified target type.
Public methodStatic memberConvertTo<T>(Object, IFormatProvider)
Converts the object to the specified target type.
Public methodStatic memberCode exampleGetPropertyName<T>(Expression<Func<T>>)
Retrieves the name of a property identified by a lambda expression.
Public methodStatic memberCode exampleGetPropertyName<TObject, TProperty>(TObject, Expression<Func<TObject, TProperty>>)
Retrieves the name of a given object's property identified by a lambda expression.
Public methodStatic memberGetTypeConverter
Gets the type converter for the given type.
Public methodStatic memberIsConvertible(Object)
Determines whether the specified object is a base data type or implements the IConvertible interface.
Public methodStatic memberIsConvertible(Type)
Determines whether the specified type is a base data type or implements the IConvertible interface.
Public methodStatic memberParse(Type, String)
Parses a string and converts it to the specified type (using the invariant culture).
Public methodStatic memberParse<T>(String)
Parses the specified value (using the invariant culture).
Public methodStatic memberSafeDispose<T>
Safely disposes the object.
Top
See Also