Click or drag to resize

JavascriptExecutorRegisterCallback Method (String, Type, String, NameValueCollection, FuncObject, Object)

Register the specified rule with this engine

Namespace:  SanteDB.BusinessRules.JavaScript
Assembly:  SanteDB.BusinessRules.JavaScript (in SanteDB.BusinessRules.JavaScript.dll) Version: 3.0.481-alpha
Syntax
public void RegisterCallback(
	string id,
	Type targetType,
	string trigger,
	NameValueCollection guard,
	Func<Object, Object> _delegate
)

Parameters

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JavascriptExecutor.RegisterCallback(System.String,System.Type,System.String,System.Collections.Specialized.NameValueCollection,System.Func{System.Object,System.Object})"]

targetType
Type: SystemType

[Missing <param name="targetType"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JavascriptExecutor.RegisterCallback(System.String,System.Type,System.String,System.Collections.Specialized.NameValueCollection,System.Func{System.Object,System.Object})"]

trigger
Type: SystemString

[Missing <param name="trigger"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JavascriptExecutor.RegisterCallback(System.String,System.Type,System.String,System.Collections.Specialized.NameValueCollection,System.Func{System.Object,System.Object})"]

guard
Type: System.Collections.SpecializedNameValueCollection

[Missing <param name="guard"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JavascriptExecutor.RegisterCallback(System.String,System.Type,System.String,System.Collections.Specialized.NameValueCollection,System.Func{System.Object,System.Object})"]

_delegate
Type: SystemFuncObject, Object

[Missing <param name="_delegate"/> documentation for "M:SanteDB.BusinessRules.JavaScript.JavascriptExecutor.RegisterCallback(System.String,System.Type,System.String,System.Collections.Specialized.NameValueCollection,System.Func{System.Object,System.Object})"]

See Also