PostSharp//API Reference/Post­Sharp.​Patterns.​Threading/Thread­Aware­Attribute/Query­Interface
Open sandboxFocus

Method QueryInterface

QueryInterface(Type)

Declaration
[IntroduceMember]
[Internal(AttributeId = -9126100459348525003L)]
[DebuggerAspectMethod]
public object QueryInterface(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
Object

QueryInterface<T>()

Declaration
[Internal(AttributeId = -9126100459348525002L)]
[DebuggerAspectMethod]
[DebuggerAspectMethod]
public T QueryInterface<T>()
    where T : class
Returns
Type Description
T
Type Parameters
Name Description
T
Implements
IQueryInterface.QueryInterface<T>()