Custom types - Testura/Testura.Code GitHub Wiki

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;