InjectInterfaceAttribute Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[AttributeUsage(AttributeTargets.&Class, AllowMultiple := true, &Inherited := true)] InjectInterfaceAttribute = public sealed class(Attribute)
The InjectInterfaceAttribute can be used on aspects to hint to the compiler that the target class this aspect is used on should implement this interface and if it doesn't, the compiler should add it. The aspect itself is responsible to add the members required by this interface through other means like the InjectIntoTargetAttribute Class or AutoInjectIntoTargetAttribute Class attribute.
Namespace: Cirrus
Members
| | |
|---|---|
| constructor(aType: Type) | Constructor for this class |
Properties
| | |
|---|---|
| Type: Type | The interface type to inject |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To