Class StringContainsCondition
Matches when a field matching the field path string (JSON Path) changes and matches one of the specified values in ValuesToMatch
Inheritance
StringContainsCondition
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class StringContainsCondition : BusinessRuleCondition
Properties
Decide if the StringContains condition should be processed case sensitive.
Declaration
[JsonProperty("caseSensitive", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool CaseSensitive { get; set; }
Property Value
Declaration
[JsonProperty("fieldPath", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string FieldPath { get; set; }
Property Value
Optional variable name to store the ValueToStore in
Declaration
[JsonProperty("storeIn", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string StoreIn { get; set; }
Property Value
Optional value to be stored in the variable identified by StoreIn. It can be simple value or a complex object.
Declaration
[JsonProperty("valueToStore", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public object ValueToStore { get; set; }
Property Value
A list of string value that will checked if at least one of them is contained in the string value identified by the FieldPath.
Declaration
[JsonProperty("valuesToMatch", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> ValuesToMatch { get; set; }
Property Value
Methods
Declaration
public static StringContainsCondition FromJson(string data)
Parameters
Returns