Class Object_CB_Extension
- Namespace
- System
- Assembly
- Cobilas.Core.dll
Grants more methods to object class.
public static class Object_CB_Extension
- Inheritance
-
Object_CB_Extension
- Inherited Members
Methods
CompareType(object, Type)
Compares the object's type to a specified type.
public static bool CompareType(this object O, Type type)
Parameters
Returns
CompareType(object, params Type[])
Compares the object's type to a specified list of types.
public static bool CompareType(this object O, params Type[] types)
Parameters
Returns
CompareTypeAndSubType(object, Type)
Compares class type and the class it inherits.
public static bool CompareTypeAndSubType(this object O, Type type)
Parameters
Returns
CompareTypeAndSubType(object, Type, bool)
Compares class type and the class it inherits.
public static bool CompareTypeAndSubType(this object O, Type type, bool IncludeInterface)
Parameters
Returns
CompareTypeAndSubType<T>(object)
Compares class type and the class it inherits.
public static bool CompareTypeAndSubType<T>(this object O)
Parameters
O
object
Returns
Type Parameters
T
CompareTypeAndSubType<T>(object, bool)
Compares class type and the class it inherits.
public static bool CompareTypeAndSubType<T>(this object O, bool IncludeInterface)
Parameters
Returns
Type Parameters
T
CompareType<T>(object)
Compares the object's type with a specified generic type.
public static bool CompareType<T>(this object O)
Parameters
O
objectThe target object of comparison.
Returns
Type Parameters
T
The generic comparison type specified.