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

◆ WrapperOf< TWrapped >() [2/2]

static bool Sisus.Init.Find.WrapperOf< TWrapped > ( [DisallowNull] TWrapped wrapped,
[NotNullWhen(true), MaybeNullWhen(false)] out IWrapper< TWrapped > result )
static

Returns the Object which wraps the wrapped object.

Template Parameters
TWrappedType of the wrapped object.
Parameters
wrappedThe wrapped object.
resultWhen this method returns, contains the wrapper of the wrapped object, if found; otherwise, null. This parameter is passed uninitialized.
Returns
true if wrapper was found; otherwise, false.