Show / Hide Table of Contents

Class CaseController<TFunc, TFuncAttribute, TScriptAttribute>

Case function controller

Inheritance
object
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>
CaseController<TFunc, TFuncAttribute, TScriptAttribute>
CaseAvailableController<TFunc>
CaseChangeController<TFunc, TFuncAttribute, TScriptAttribute>
Inherited Members
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.NewScriptingContext()
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.NewScriptingCalendar()
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.Configuration
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.Tenant
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.User
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.Payroll
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>.Employee
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.GetScriptMethod(string)
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.GetScriptAttribute(string)
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.HttpClient
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.Function
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>.Methods
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: PayrollEngine.Client.Scripting.Function.Api
Assembly: PayrollEngine.Client.Services.dll
Syntax
public abstract class CaseController<TFunc, TFuncAttribute, TScriptAttribute> : PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute> where TFunc : CaseFunction where TFuncAttribute : CaseFunctionAttribute where TScriptAttribute : CaseScriptAttribute
Type Parameters
Name Description
TFunc
TFuncAttribute
TScriptAttribute

Constructors

View Source

CaseController(PayrollHttpClient, ScriptConfiguration)

Initializes a new instance of the CaseController<TFunc, TFuncAttribute, TScriptAttribute> class

Declaration
protected CaseController(PayrollHttpClient httpClient, ScriptConfiguration configuration)
Parameters
Type Name Description
PayrollHttpClient httpClient

The Payroll http client

ScriptConfiguration configuration

The scripting configuration

Methods

View Source

GetCaseSet(string)

Load the payroll case

Declaration
public Task<CaseSet> GetCaseSet(string caseName)
Parameters
Type Name Description
string caseName

Name of the case

Returns
Type Description
Task<CaseSet>

The case

View Source

GetCaseSet<T>(string)

Load the payroll case

Declaration
public Task<T> GetCaseSet<T>(string caseName) where T : CaseSet
Parameters
Type Name Description
string caseName

Name of the case

Returns
Type Description
Task<T>

The case

Type Parameters
Name Description
T

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)
  • View Source
☀
☾
Back to top Generated by DocFX