Skip to content

Class TenancySelection

Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll

Describes the active multi-tenancy inputs resolved for a Cephalon app.

public sealed class TenancySelection

objectTenancySelection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes a new instance of the class.

[JsonConstructor]
public TenancySelection(bool? enabled = null, string? mode = null)

enabled bool?

Whether multi-tenancy was explicitly enabled.

mode string?

The selected tenancy mode.

Gets an empty tenancy-selection instance.

public static TenancySelection Empty { get; }

TenancySelection

Gets a value indicating whether multi-tenancy was explicitly enabled.

public bool? Enabled { get; }

bool?

Gets a value indicating whether any tenancy-selection inputs were explicitly supplied.

public bool HasValues { get; }

bool

Gets the selected tenancy mode.

public string? Mode { get; }

string?