RequiresBaseClassAttribute

Overview

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.

Location

Properties


Type

The type the target class has to descend from

 

property Type: Type read;

 

Type Type { get; }

 

var Type: Type { get{} }

 

Type Type { __get; }

 

ReadOnly Property Type() As Type

Instance Methods


constructor

Constructor for this attribute

 

constructor(aType: Type)

 

RequiresBaseClassAttribute(Type aType)

 

init(_ aType: Type)

 

RequiresBaseClassAttribute(Type aType)

 

Sub New(aType As Type)

Parameters:

  • aType: base type required