PostSharpAPI ReferencePost­Sharp.​Patterns.​Dynamic­AdvisingDynamically­Advisable­ObjectIDynamically­Advisable.​Advise
Open sandboxFocus

DynamicallyAdvisableObject.IDynamicallyAdvisable.Advise Method

IDynamicallyAdvisable.Advise(Type, Func<IQueryInterface, IDynamicAdvice>)

Declaration
bool IDynamicallyAdvisable.Advise(Type type, Func<IQueryInterface, IDynamicAdvice> createAdvice)
Parameters
Type Name Description
System.Type type
System.Func<IQueryInterface, IDynamicAdvice> createAdvice
Returns
Type Description
Boolean
Implements
IDynamicallyAdvisable.Advise(Type, Func<IQueryInterface, IDynamicAdvice>)