Skip to content
MilleBo edited this page Feb 17, 2017 · 1 revision

In many cases you don't have access to dependencies or you're creating your own type so you don't have access to the type-object. To help with this Testura.Code have something called CustomType.In any method that requires a type you can simply call it with CustomType.Create("YourTypeName").

Example

Usage

Statement.Decleration.DeclareAndAssign("testVariable", CustomType.Create("MyType")));

Result

MyType testVariable;
Clone this wiki locally