Table of Contents

Interface IWrapper<T>

Namespace
ToSic.Sys.Wrappers
Assembly
ToSic.Sys.Core.dll

This is for any object which does something, but caries with it an original object which is the type of the hosting system (environment)

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IWrapper<out T>

Type Parameters

T

Methods

GetContents()

The underlying, original object. Helpful for external objects which need the real, underlying item.
Avoid using this property for use inside the real object, but create another property for this, so it's easier to spot dependencies.

T? GetContents()

Returns

T