DefaultConstructor

Description

static class Tinman.Core.System.DefaultConstructor<T ref>

Helper for creating instances of a class by invoking the default constructor.

This class assumes that the default constructor does not throw any exceptions.

Public / Methods

Invoke


[OwnerReturn]
public static method Invoke → ()

returns → T

The object instance.

Creates a new instance of T using its default constructor.