This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

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.Model
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.34.0 (5.0.34.0)
Syntax
C#
public interface IQueryInterface

The IQueryInterface type exposes the following members.

Methods
  NameDescription
Public methodQueryInterface<T>
Gets the implementation of a specified interface for the current object.
Top
See Also