fix: LocalParam made public (#75)

pull/76/head
YogeshPraj 2020-12-10 18:42:55 +05:30 committed by GitHub
parent a90880f126
commit fc77d65d68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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; }
}
}

View File

@ -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; }