Click or drag to resize

JavascriptEngineBridgeAddBusinessRule Method (String, String, ExpandoObject, FuncObject, ExpandoObject)

Add a business rule for the specified object

Namespace:  SanteDB.BusinessRules.JavaScript.JNI
Assembly:  SanteDB.BusinessRules.JavaScript (in SanteDB.BusinessRules.JavaScript.dll) Version: 3.0.481-alpha
Syntax
public void AddBusinessRule(
	string target,
	string trigger,
	ExpandoObject guard,
	Func<Object, ExpandoObject> _delegate
)

Parameters

target
Type: SystemString

[Missing <param name="target"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JNI.JavascriptEngineBridge.AddBusinessRule(System.String,System.String,System.Dynamic.ExpandoObject,System.Func{System.Object,System.Dynamic.ExpandoObject})"]

trigger
Type: SystemString

[Missing <param name="trigger"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JNI.JavascriptEngineBridge.AddBusinessRule(System.String,System.String,System.Dynamic.ExpandoObject,System.Func{System.Object,System.Dynamic.ExpandoObject})"]

guard
Type: System.DynamicExpandoObject

[Missing <param name="guard"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JNI.JavascriptEngineBridge.AddBusinessRule(System.String,System.String,System.Dynamic.ExpandoObject,System.Func{System.Object,System.Dynamic.ExpandoObject})"]

_delegate
Type: SystemFuncObject, ExpandoObject

[Missing <param name="_delegate"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JNI.JavascriptEngineBridge.AddBusinessRule(System.String,System.String,System.Dynamic.ExpandoObject,System.Func{System.Object,System.Dynamic.ExpandoObject})"]

See Also