Open sandboxFocus

Method QueryInterface

QueryInterface<T>()

Gets the implementation of an interface.

Declaration
T QueryInterface<T>() where T : class
Returns
Type Description
T

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

Type Parameters
Name Description
T

Interface type.