Class TenancySelection
Namespace: Cephalon.Abstractions.AppModel
Assembly: Cephalon.Abstractions.dll
Describes the active multi-tenancy inputs resolved for a Cephalon app.
public sealed class TenancySelectionInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”TenancySelection(bool?, string?)
Section titled “ TenancySelection(bool?, string?)”Initializes a new instance of the
[JsonConstructor]public TenancySelection(bool? enabled = null, string? mode = null)Parameters
Section titled “Parameters”enabled bool?
Whether multi-tenancy was explicitly enabled.
mode string?
The selected tenancy mode.
Properties
Section titled “Properties”Gets an empty tenancy-selection instance.
public static TenancySelection Empty { get; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Gets a value indicating whether multi-tenancy was explicitly enabled.
public bool? Enabled { get; }Property Value
Section titled “Property Value”bool?
HasValues
Section titled “ HasValues”Gets a value indicating whether any tenancy-selection inputs were explicitly supplied.
public bool HasValues { get; }Property Value
Section titled “Property Value”Gets the selected tenancy mode.
public string? Mode { get; }