JaCIL Framework API

CompilerReferences.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.

public 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.

Implements

ICompilerReferences.IsInterface

Exceptions

Exception Type Condition
ReferenceException If the type could not be resolved

See Also

CompilerReferences Class | JaCIL.Compiler Namespace | CompilerReferences.IsInterface Overload List