Interface IUniConstructor<Instance,T1>

Type Parameters:
Instance - The type of the instance that will be created.
T1 - The type of the first parameter required to create the instance.

public interface IUniConstructor<Instance,T1>
A constructor that can create a new instance of a type, requiring a single parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new instance of the type.
  • Method Details

    • newInstance

      Instance newInstance(T1 t1)
      Creates a new instance of the type.
      Parameters:
      t1 - The first parameter required to create the instance.
      Returns:
      The newly created instance.