IDynamicAdvice.QueryInterface<T> Method |
Gets the implementation of an interface.
Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.21.0 (6.5.21.0)
C#
T QueryInterface<T>() where T : class
Type Parameters
- T
- Interface type.
Return Value
Type: TThe implementation of interface T, or null if the advice does not implement this interface.