Show / Hide Table of Contents

Class Tenant

The tenant client object

Inheritance
object
ModelBase
Tenant
ExchangeTenant
Implements
ITenant
IModel
IAttributeObject
IKeyEquatable<ITenant>
IEquatable<ITenant>
IIdentifierObject
Inherited Members
ModelBase.ToString()
ModelBase.Id
ModelBase.IsExistingObject
ModelBase.IsNewObject
ModelBase.Status
ModelBase.Created
ModelBase.Updated
ModelBase.UpdateMode
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Model
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class Tenant : ModelBase, ITenant, IModel, IAttributeObject, IKeyEquatable<ITenant>, IEquatable<ITenant>, IIdentifierObject

Constructors

Tenant()

Initializes a new instance

Declaration
public Tenant()

Tenant(Tenant)

Initializes a new instance from a copy

Declaration
public Tenant(Tenant copySource)
Parameters
Type Name Description
Tenant copySource

The copy source

Properties

Attributes

Declaration
[JsonPropertyOrder(103)]
public Dictionary<string, object> Attributes { get; set; }
Property Value
Type Description
Dictionary<string, object>

Calendar

The tenant calendar (fallback: default calendar)

Declaration
[StringLength(128)]
[JsonPropertyOrder(102)]
public string Calendar { get; set; }
Property Value
Type Description
string

Culture

The tenant culture name based on RFC 4646 (fallback: system culture)

Declaration
[StringLength(128)]
[JsonPropertyOrder(101)]
public string Culture { get; set; }
Property Value
Type Description
string

Identifier

The tenant identifier

Declaration
[Required]
[StringLength(128)]
[JsonPropertyOrder(100)]
public string Identifier { get; set; }
Property Value
Type Description
string

Methods

EqualKey(ITenant)

Test for the same item key

Declaration
public virtual bool EqualKey(ITenant compare)
Parameters
Type Name Description
ITenant compare
Returns
Type Description
bool

Equals(ITenant)

Declaration
public virtual bool Equals(ITenant compare)
Parameters
Type Name Description
ITenant compare
Returns
Type Description
bool

GetUiString()

The object UI string

Declaration
public override string GetUiString()
Returns
Type Description
string
Overrides
ModelBase.GetUiString()

Implements

ITenant
IModel
IAttributeObject
IKeyEquatable<T>
IEquatable<T>
IIdentifierObject

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX