Table of Contents

Interface IAppsCatalog

Namespace
ToSic.Eav.Apps
Assembly
ToSic.Eav.Core.dll

Global service providing information about apps and zones.

[PublicApi]
public interface IAppsCatalog

Properties

Zones

List of all zones.

IReadOnlyDictionary<int, Zone> Zones { get; }

Property Value

IReadOnlyDictionary<int, Zone>

Methods

AppIdentity(int)

Get the full identity of an App by its ID.

IAppIdentityPure AppIdentity(int appId)

Parameters

appId int

Returns

IAppIdentityPure

AppNameId(IAppIdentity)

Get the NameId of an App - typically a GUID or in rare cases the word "Content".

string AppNameId(IAppIdentity appIdentity)

Parameters

appIdentity IAppIdentity

Returns

string

Apps(int)

List of all apps inside a specific zone.

IReadOnlyDictionary<int, string> Apps(int zoneId)

Parameters

zoneId int

Returns

IReadOnlyDictionary<int, string>

DefaultAppIdentity(int)

Get the identity of the "Default" (aka "Content") App of a Zone.

IAppIdentityPure DefaultAppIdentity(int zoneId)

Parameters

zoneId int

Returns

IAppIdentityPure

PrimaryAppIdentity(int)

Get the identity of the "Primary" (aka "Site") App of a Zone.

IAppIdentityPure PrimaryAppIdentity(int zoneId)

Parameters

zoneId int

Returns

IAppIdentityPure

Zone(int)

Information about a specific zone.

Zone Zone(int zoneId)

Parameters

zoneId int

Returns

Zone