Show / Hide Table of Contents

Interface ICaseService

Payroll case service

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

Methods

GetAsync<T>(RegulationServiceContext, string)

Get case by name

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

The service context

string name

The case name

Returns
Type Description
Task<T>

The case, null if missing

Type Parameters
Name Description
T

RebuildAsync(RegulationServiceContext, int)

Rebuild the case

Declaration
Task RebuildAsync(RegulationServiceContext context, int caseId)
Parameters
Type Name Description
RegulationServiceContext context

The service context

int caseId

The case id

Returns
Type Description
Task

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