Table of Contents

Class AppBase<TServices>

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

Base object for things that have a full app-identity (app-id and zone-id) and can also log their state.

[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public abstract class AppBase<TServices> : ServiceBase<TServices>, IHasLog, IAppIdentity, IZoneIdentity, IAppIdentityLight where TServices : MyServicesBase

Type Parameters

TServices
Inheritance
ServiceBase<TServices>
AppBase<TServices>
Implements

Constructors

AppBase(TServices, string, object[])

Base object for things that have a full app-identity (app-id and zone-id) and can also log their state.

protected AppBase(TServices services, string logName, object[] connect)

Parameters

services TServices
logName string
connect object[]

Properties

AppId

The app id as used internally

public int AppId { get; }

Property Value

int

The App ID this thing belongs to

ZoneId

ID of the zone (EAV Tenant)

public int ZoneId { get; }

Property Value

int

The zone ID this thing belongs to

Methods

InitAppBaseIds(IAppIdentity)

App identity containing zone/app combination

protected void InitAppBaseIds(IAppIdentity app)

Parameters

app IAppIdentity

the identity