JaCIL Framework API

ICompilerReferences.IsInterface Method (String, String)

Returns whether a given type from a given assembly is an interface by searching internally based on the name of the type and the assembly of the type.

bool IsInterface(
   string asmName,
   string typeName
);

Parameters

asmName
The assembly name of the type to search for.
typeName
The name of the type to search for.

Return Value

True if and only if the type represents an interface.

Exceptions

Exception Type Condition
ReferenceException If the type could not be resolved

See Also

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