Interface IBiConstructor<Instance,T1,T2>

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

public interface IBiConstructor<Instance,T1,T2>
A constructor that can create a new instance of a type, requiring two parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    newInstance(T1 t1, T2 t2)
    Creates a new instance of the type.
  • Method Details

    • newInstance

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