AttributeExpressionTObject Constructor |
Namespace:
Aloe.SystemFrameworks.Domain.Attributes
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic AttributeExpression(
Expression<Func<TObject, Object>> expression = null,
Func<TObject, bool> condition = null,
string ruleCode = null
)
Public Sub New (
Optional expression As Expression(Of Func(Of TObject, Object)) = Nothing,
Optional condition As Func(Of TObject, Boolean) = Nothing,
Optional ruleCode As String = Nothing
)
public:
AttributeExpression(
Expression<Func<TObject, Object^>^>^ expression = nullptr,
Func<TObject, bool>^ condition = nullptr,
String^ ruleCode = nullptr
)
new :
?expression : Expression<Func<'TObject, Object>> *
?condition : Func<'TObject, bool> *
?ruleCode : string
(* Defaults:
let _expression = defaultArg expression null
let _condition = defaultArg condition null
let _ruleCode = defaultArg ruleCode null
*)
-> AttributeExpression
Parameters
- expression (Optional)
- Type: System.Linq.ExpressionsExpressionFuncTObject, Object
The expression. - condition (Optional)
- Type: SystemFuncTObject, Boolean
The condition. - ruleCode (Optional)
- Type: SystemString
The rule code.
See Also