Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / IQuery­Interface Interface

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.39.0 (5.0.39.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.
See Also