Method InheritsFromInterface
InheritsFromInterface(ITypeSymbol, String, Boolean)
Declaration
public static bool InheritsFromInterface(this ITypeSymbol symbol, string interfaceName, bool exact = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ITypeSymbol | symbol | |
| String | interfaceName | |
| Boolean | exact |
Returns
| Type | Description |
|---|---|
| Boolean |