Table of Contents

Interface IUiContextService

Namespace
ToSic.Eav.Ui.Context.Sys
Assembly
ToSic.Eav.WebApi.dll

Service to prepare context information which the UI (admin/edit) typically needs.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public interface IUiContextService : IServiceWithSetup<IAppReader?>
Inherited Members

Remarks

Relies on IUiContextPartsService to provide the specific parts of the context, which can be implemented differently depending on the platform (DNN, Oqtane, etc.)

Methods

Get(Ctx, CtxEnable)

Get the context based on the situation. The caller will use different flags depending on the need.

ContextDto Get(Ctx flags, CtxEnable enableFlags)

Parameters

flags Ctx
enableFlags CtxEnable

Returns

ContextDto