JaCIL Framework API

ICompilerReferences.IsDerivedFrom Method (String, String, String, String)

Returns whether a given type derived from another.

bool IsDerivedFrom(
   string childAsm,
   string childName,
   string parentAsm,
   string parentName
);

Parameters

childAsm
The assembly name of the child type.
childName
The name of the child type.
parentAsm
The assembly name of the parent type.
parentName
The name of the parent type.

Return Value

True if and only if the first argument is derived from the second or the first argument is the same type as the second.

Exceptions

Exception Type Condition
ReferenceException If any type could not be resolved.

See Also

ICompilerReferences Interface | JaCIL.Compiler Namespace | ICompilerReferences.IsDerivedFrom Overload List