IContext Interface
From The Oxygene Language Wiki
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
| | |
|---|---|
| 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
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- IMethodCallDecorator Interface
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To