Class RegulationServiceContext
Regulation service context
Inheritance
RegulationServiceContext
Implements
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class RegulationServiceContext : TenantServiceContext, IServiceContext
Constructors
RegulationServiceContext(ITenant, IRegulation)
Initializes a new instance of the RegulationServiceContext class
Declaration
public RegulationServiceContext(ITenant tenant, IRegulation regulation)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenant | tenant | The tenant |
| IRegulation | regulation | The regulation |
RegulationServiceContext(int, int)
Initializes a new instance of the RegulationServiceContext class
Declaration
public RegulationServiceContext(int tenantId, int regulationId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | regulationId | The regulation id |
Properties
RegulationId
The regulation id
Declaration
public int RegulationId { get; }
Property Value
| Type | Description |
|---|---|
| int |