Show / Hide Table of Contents

Class EmployeeCaseValueService

Inheritance
object
ServiceBase
EmployeeCaseValueService
Implements
IEmployeeCaseValueService
IReadService<ICaseValue, EmployeeServiceContext, CaseValueQuery>
Inherited Members
ServiceBase.AddQueryValue(string, string, object)
ServiceBase.AddQueryValue(string, string, DateTime)
ServiceBase.HttpClient
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Service.Api
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class EmployeeCaseValueService : ServiceBase, IEmployeeCaseValueService, IReadService<ICaseValue, EmployeeServiceContext, CaseValueQuery>

Constructors

EmployeeCaseValueService(PayrollHttpClient)

Declaration
public EmployeeCaseValueService(PayrollHttpClient httpClient)
Parameters
Type Name Description
PayrollHttpClient httpClient

Methods

GetAsync<T>(EmployeeServiceContext, int)

Declaration
public virtual Task<T> GetAsync<T>(EmployeeServiceContext context, int employeeCaseValueId) where T : class, ICaseValue
Parameters
Type Name Description
EmployeeServiceContext context
int employeeCaseValueId
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetCaseValueSlotsAsync(EmployeeServiceContext, string)

Declaration
public virtual Task<IEnumerable<string>> GetCaseValueSlotsAsync(EmployeeServiceContext context, string caseFieldName)
Parameters
Type Name Description
EmployeeServiceContext context
string caseFieldName
Returns
Type Description
Task<IEnumerable<string>>

QueryAsync<T>(EmployeeServiceContext, CaseValueQuery)

Declaration
public virtual Task<List<T>> QueryAsync<T>(EmployeeServiceContext context, CaseValueQuery query = null) where T : class, ICaseValue
Parameters
Type Name Description
EmployeeServiceContext context
CaseValueQuery query
Returns
Type Description
Task<List<T>>
Type Parameters
Name Description
T

QueryCountAsync(EmployeeServiceContext, CaseValueQuery)

Declaration
public virtual Task<long> QueryCountAsync(EmployeeServiceContext context, CaseValueQuery query = null)
Parameters
Type Name Description
EmployeeServiceContext context
CaseValueQuery query
Returns
Type Description
Task<long>

QueryResultAsync<T>(EmployeeServiceContext, CaseValueQuery)

Declaration
public virtual Task<QueryResult<T>> QueryResultAsync<T>(EmployeeServiceContext context, CaseValueQuery query = null) where T : class, ICaseValue
Parameters
Type Name Description
EmployeeServiceContext context
CaseValueQuery query
Returns
Type Description
Task<QueryResult<T>>
Type Parameters
Name Description
T

Implements

IEmployeeCaseValueService
IReadService<TModel, TContext, TQuery>

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