C# Class Ext.Net.Utilities.ReflectionUtils

Mostrar archivo Open project: extnet/Utilities

Public Methods

Method Description
GetDefaultValue ( PropertyDescriptor property ) : object

GetDefaultValue ( PropertyInfo property ) : object

GetTypeOfParent ( Control control, Type type ) : Control

GetTypeOfParent ( Control control, string typeFullName ) : Control

IsInTypeOf ( Control control, Type type ) : bool

IsInTypeOf ( Control control, string typeFullName ) : bool

IsTypeOf ( Object obj, Type type ) : bool

IsTypeOf ( Object obj, Type type, bool shallow ) : bool

IsTypeOf ( Object obj, string typeFullName ) : bool

IsTypeOf ( Object obj, string typeFullName, bool shallow ) : bool

Method Details

GetDefaultValue() public static method

public static GetDefaultValue ( PropertyDescriptor property ) : object
property System.ComponentModel.PropertyDescriptor
return object

GetDefaultValue() public static method

public static GetDefaultValue ( PropertyInfo property ) : object
property System.Reflection.PropertyInfo
return object

GetTypeOfParent() public static method

public static GetTypeOfParent ( Control control, Type type ) : Control
control System.Web.UI.Control
type System.Type
return System.Web.UI.Control

GetTypeOfParent() public static method

public static GetTypeOfParent ( Control control, string typeFullName ) : Control
control System.Web.UI.Control
typeFullName string
return System.Web.UI.Control

IsInTypeOf() public static method

public static IsInTypeOf ( Control control, Type type ) : bool
control System.Web.UI.Control
type System.Type
return bool

IsInTypeOf() public static method

public static IsInTypeOf ( Control control, string typeFullName ) : bool
control System.Web.UI.Control
typeFullName string
return bool

IsTypeOf() public static method

public static IsTypeOf ( Object obj, Type type ) : bool
obj Object
type System.Type
return bool

IsTypeOf() public static method

public static IsTypeOf ( Object obj, Type type, bool shallow ) : bool
obj Object
type System.Type
shallow bool
return bool

IsTypeOf() public static method

public static IsTypeOf ( Object obj, string typeFullName ) : bool
obj Object
typeFullName string
return bool

IsTypeOf() public static method

public static IsTypeOf ( Object obj, string typeFullName, bool shallow ) : bool
obj Object
typeFullName string
shallow bool
return bool