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
Syntax
public interface IQueryInterface

Methods

Name Description
QueryInterface<T>()

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

See Also

IDynamicInterfaceImplementation
PostSharp.Patterns.DynamicAdvising.QueryInterfaceExtensions