Show / Hide Table of Contents

Interface ICollectorService

Payroll collector service

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

Methods

GetAsync<T>(RegulationServiceContext, string)

Get collector by name

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

The service context

string name

The collector name

Returns
Type Description
Task<T>

The collector, null if missing

Type Parameters
Name Description
T

RebuildAsync(RegulationServiceContext, int)

Rebuild the collector

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

The service context

int collectorId

The collector 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