RequiresBaseClassAttribute 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 := false, &Inherited := true)]
RequiresBaseClassAttribute = public sealed class(Attribute)

The Requires base class attribute can be used on aspects that require a specific base class for types they're applied to. Note that this can be an indirect or direct base class.

Namespace: Cirrus


Members

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


Properties

Property
Description
Type: TypeThe type the target class has to descend from


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox