Show / Hide Table of Contents

Interface IRegulationService

Payroll regulation service

Inherited Members
ICrudService<IRegulation, TenantServiceContext, Query>.UpdateAsync<T>(TenantServiceContext, T)
ICreateService<IRegulation, TenantServiceContext, Query>.CreateAsync<T>(TenantServiceContext, T)
ICreateService<IRegulation, TenantServiceContext, Query>.DeleteAsync(TenantServiceContext, int)
IReadService<IRegulation, TenantServiceContext, Query>.QueryAsync<T>(TenantServiceContext, Query)
IReadService<IRegulation, TenantServiceContext, Query>.QueryCountAsync(TenantServiceContext, Query)
IReadService<IRegulation, TenantServiceContext, Query>.QueryResultAsync<T>(TenantServiceContext, Query)
IReadService<IRegulation, TenantServiceContext, Query>.GetAsync<T>(TenantServiceContext, int)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IRegulationService : ICrudService<IRegulation, TenantServiceContext, Query>, ICreateService<IRegulation, TenantServiceContext, Query>, IReadService<IRegulation, TenantServiceContext, Query>

Methods

GetAsync<T>(TenantServiceContext, string)

Get regulation by name

Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string name) where T : class, IRegulation
Parameters
Type Name Description
TenantServiceContext context

The service context

string name

The regulation name

Returns
Type Description
Task<T>

The regulation, null if missing

Type Parameters
Name Description
T

GetCaseOfCaseFieldAsync(TenantServiceContext, string)

Get case name by case field

Declaration
Task<string> GetCaseOfCaseFieldAsync(TenantServiceContext context, string caseFieldName)
Parameters
Type Name Description
TenantServiceContext context

The service context

string caseFieldName

The case field name

Returns
Type Description
Task<string>

The case name

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