ActionBusinessRuleTObject Constructor |
Namespace:
Aloe.SystemFrameworks.Domain.BusinessLogic
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic ActionBusinessRule(
string code,
string name,
Func<TObject, bool> condition,
Action<TObject> action
)
Public Sub New (
code As String,
name As String,
condition As Func(Of TObject, Boolean),
action As Action(Of TObject)
)
public:
ActionBusinessRule(
String^ code,
String^ name,
Func<TObject, bool>^ condition,
Action<TObject>^ action
)
new :
code : string *
name : string *
condition : Func<'TObject, bool> *
action : Action<'TObject> -> ActionBusinessRule
Parameters
- code
- Type: SystemString
The rule code. - name
- Type: SystemString
The name. - condition
- Type: SystemFuncTObject, Boolean
The condition. - action
- Type: SystemActionTObject
The action.
See Also