Show / Hide Table of Contents

Interface ICalendarService

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

Methods

CalculateValueAsync(int, decimal, string, string, DateTime?, DateTime?)

Declaration
Task<decimal?> CalculateValueAsync(int tenantId, decimal value, string cultureName = null, string calendarName = null, DateTime? evaluationDate = null, DateTime? evaluationPeriodDate = null)
Parameters
Type Name Description
int tenantId
decimal value
string cultureName
string calendarName
DateTime? evaluationDate
DateTime? evaluationPeriodDate
Returns
Type Description
Task<decimal?>

GetAsync<T>(TenantServiceContext, string)

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

GetCycleAsync(int, string, string, DateTime?, int?)

Declaration
Task<DatePeriod> GetCycleAsync(int tenantId, string cultureName = null, string calendarName = null, DateTime? cycleMoment = null, int? offset = null)
Parameters
Type Name Description
int tenantId
string cultureName
string calendarName
DateTime? cycleMoment
int? offset
Returns
Type Description
Task<DatePeriod>

GetPeriodAsync(int, string, string, DateTime?, int?)

Declaration
Task<DatePeriod> GetPeriodAsync(int tenantId, string cultureName = null, string calendarName = null, DateTime? periodMoment = null, int? offset = null)
Parameters
Type Name Description
int tenantId
string cultureName
string calendarName
DateTime? periodMoment
int? offset
Returns
Type Description
Task<DatePeriod>

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