Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ CreateWrappedObject()

TWrapped Sisus.Init.WrapperInitializerBase< TWrapper, TWrapped, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument >.CreateWrappedObject ( TFirstArgument firstArgument,
TSecondArgument secondArgument,
TThirdArgument thirdArgument,
TFourthArgument fourthArgument,
TFifthArgument fifthArgument,
TSixthArgument sixthArgument )
abstractprotected

Creates a new instance of TWrapped initialized using the provided arguments and returns it.

Note: If you need support circular dependencies between your objects then you need to also override GetOrCreateUninitializedWrappedObject().

Parameters
firstArgumentThe first argument used to initialize the wrapped object.
secondArgumentThe second argument used to initialize the wrapped object.
thirdArgumentThe third argument used to initialize the wrapped object.
fourthArgumentThe fourth argument used to initialize the wrapped object.
fifthArgumentThe fifth argument used to initialize the wrapped object.
sixthArgumentThe sixth argument used to initialize the wrapped object.
Returns
Instance of the TWrapped class.