Show / Hide Table of Contents

Interface ICaseObject

Case object

Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public interface ICaseObject

Methods

GetCaseFieldName(string)

Get case field name

Declaration
string GetCaseFieldName(string propertyName)
Parameters
Type Name Description
string propertyName
Returns
Type Description
string

GetObject<T>(string)

Get case object by property name

Declaration
T GetObject<T>(string propertyName) where T : class, ICaseObject
Parameters
Type Name Description
string propertyName
Returns
Type Description
T
Type Parameters
Name Description
T

GetObjects<T>()

Get case objects

Declaration
List<T> GetObjects<T>() where T : class, ICaseObject
Returns
Type Description
List<T>
Type Parameters
Name Description
T

GetValue(string)

Get case object value by case field name

Declaration
object GetValue(string caseFieldName)
Parameters
Type Name Description
string caseFieldName
Returns
Type Description
object

SetValue(string, object)

Set case object value by case field name

Declaration
void SetValue(string caseFieldName, object value)
Parameters
Type Name Description
string caseFieldName
object value

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