W3cubDocs

/Haxe C#

CsClass

package cs

from Dynamic

import cs.Constraints

Available on cs

The type argument must be a reference type. This constraint applies also to any class, interface, delegate, or array type.

It is intended to be used as a native cs type parameter constraint, when using @:nativeGen. This constraint won't have any effect on Haxe code. If used as a real type, the underlying type will be Dynamic.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/CsClass.html