Open sandboxFocus

Method QueryInterface

QueryInterface<TInterface>()

Gets the implementation of an interface.

Declaration
public virtual TInterface QueryInterface<TInterface>() where TInterface : class
Returns
Type Description
TInterface

The implementation of interface T, or null if the advice does not implement this interface.

Type Parameters
Name Description
TInterface
Implements