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

◆ CreateWrappedObject()

TWrapped Sisus.Init.WrapperInitializerBase< TWrapper, TWrapped, TArgument >.CreateWrappedObject ( TArgument argument)
abstractprotected

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

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

Parameters
argumentThe argument used to initialize the wrapped object.
Returns
Instance of the TWrapped class.