PostSharpAPI ReferencePost­Sharp.​Patterns.​Dynamic­AdvisingIDynamically­AdvisableQuery­Advice
Open sandboxFocus

IDynamicallyAdvisable.QueryAdvice Method

QueryAdvice<T>()

Queries an interface implemented by a dynamic advice.

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

The interface implementation, or null if the object does not have an advice implementing T.

Type Parameters
Name Description
T

The interface type.