Show / Hide Table of Contents

Class PayrollServiceContext

Payroll service context

Inheritance
object
RootServiceContext
TenantServiceContext
PayrollServiceContext
Implements
IServiceContext
Inherited Members
TenantServiceContext.TenantId
RootServiceContext.ServiceType
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class PayrollServiceContext : TenantServiceContext, IServiceContext

Constructors

PayrollServiceContext(ITenant, IPayroll)

Initializes a new instance of the PayrollServiceContext class

Declaration
public PayrollServiceContext(ITenant tenant, IPayroll payroll)
Parameters
Type Name Description
ITenant tenant

The tenant

IPayroll payroll

The payroll

PayrollServiceContext(int, int)

Initializes a new instance of the PayrollServiceContext class

Declaration
public PayrollServiceContext(int tenantId, int payrollId)
Parameters
Type Name Description
int tenantId

The tenant id

int payrollId

The payroll id

Properties

PayrollId

The payroll id

Declaration
public int PayrollId { get; }
Property Value
Type Description
int

Implements

IServiceContext

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