PostSharpAPI ReferencePost­Sharp.​Patterns.​Dynamic­AdvisingIQuery­Interface
Open sandboxFocus

IQueryInterface Interface

Interface implemented by objects that can implement interface dynamically by composition, without implementing the interface directly at MSIL level. The QueryInterface<T>() method must then be used instead of a normal cast.

Namespace: PostSharp.Patterns.DynamicAdvising
Assembly: PostSharp.Patterns.Common.dll
public interface IQueryInterface


Name Description

Gets the implementation of a specified interface for the current object.