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

◆ CreateWrappedObject()

TWrapped Sisus.Init.WrapperInitializerBase< TWrapper, TWrapped, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument >.CreateWrappedObject ( TFirstArgument firstArgument,
TSecondArgument secondArgument,
TThirdArgument thirdArgument,
TFourthArgument fourthArgument )
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.
Returns
Instance of the TWrapped class.