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

◆ WrapperOf< TWrapper, TWrapped >()

static TWrapper Sisus.Init.Find.WrapperOf< TWrapper, TWrapped > ( [DisallowNull] TWrapped wrapped)
static

Returns the Object which wraps the wrapped object.

Template Parameters
TWrappedType of the wrapped object.
Parameters
wrappedThe wrapped object.
Returns
Object that implements IWrapper<TWrapped>, if found; otherwise, null
Type Constraints
TWrapper :Object 
TWrapper :IWrapper<TWrapped>