fix: LocalParam made public (#75)
parent
a90880f126
commit
fc77d65d68
|
@ -16,12 +16,12 @@ namespace RulesEngine.Models
|
|||
/// The name of the rule.
|
||||
/// </value>
|
||||
[JsonProperty, JsonRequired]
|
||||
public string Name { get; private set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or Sets the lambda expression.
|
||||
/// </summary>
|
||||
[JsonProperty, JsonRequired]
|
||||
public string Expression { get; private set; }
|
||||
public string Expression { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace RulesEngine.Models
|
|||
public List<Rule> Rules { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
public IEnumerable<LocalParam> LocalParams { get; private set; }
|
||||
public IEnumerable<LocalParam> LocalParams { get; set; }
|
||||
public string Expression { get; set; }
|
||||
|
||||
public Dictionary<ActionTriggerType, ActionInfo> Actions { get; set; }
|
||||
|
|
Loading…
Reference in New Issue