IContext Interface

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


IContext is the interface used by the method aspects to define what the current method is and what the current type this aspect is called from is. It is a parameter of the ProcessMethodCall method on the IMethodCallDecorator Interface.

IContext = public interface

Namespace: Cirrus Namespace


Members

Property
Description
Services: IServices The services instance that can be used to create and access other types
CurrentType: ITypeDefinition The type the method was defined in that this aspect was trigged from.
CurrentMethod: IMethodDefinition The current method this aspect was triggered from
Static: Boolean True if the current method that the aspect was triggered from is a static method; false for instance methods
Position: IPosition Current source code position


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox