RequiresInterfaceAttribute Class

From The Oxygene Language Wiki

Jump to:navigation, search

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


[AttributeUsage(AttributeTargets.&Class, AllowMultiple := true, &Inherited := true)]
RequiresInterfaceAttribute = public sealed class(Attribute)

Apply the RequiresInterfaceAttribute to an aspect to let the compiler know the target class should implement the specified type.

Namespace: Cirrus


Members

Method
Description
constructor(aType: &Type)Constructor for this attribute


Properties

Property
Description
Type: &TypeType that must be implemented by the target class


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox