Show / Hide Table of Contents

Class CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute>

Case relation function controller

Inheritance
object
FunctionControllerBase<TFunc, TFuncAttribute, TScriptAttribute>
PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute>
CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute>
CaseRelationBuildController<TFunc>
CaseRelationValidateController<TFunc>
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 CaseRelationController<TFunc, TFuncAttribute, TScriptAttribute> : PayrollFunctionController<TFunc, TFuncAttribute, TScriptAttribute> where TFunc : CaseRelationFunction where TFuncAttribute : CaseRelationFunctionAttribute where TScriptAttribute : CaseRelationScriptAttribute
Type Parameters
Name Description
TFunc
TFuncAttribute
TScriptAttribute

Constructors

View Source

CaseRelationController(PayrollHttpClient, ScriptConfiguration)

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

Declaration
protected CaseRelationController(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