Search Results for

    Show / Hide Table of Contents

    Class AssignValueAction

    Assign a value to all fields matching the FieldPath (JSON path).

    Inheritance
    object
    BusinessRuleAction
    AssignValueAction
    Inherited Members
    BusinessRuleAction.TraceRefId
    BusinessRuleAction.Names
    BusinessRuleAction.Description
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class AssignValueAction : BusinessRuleAction

    Properties

    FieldId

    ID of the field, the value should be inserted in.

    Declaration
    [JsonProperty("fieldId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string FieldId { get; set; }
    Property Value
    string

    Path

    Path to the object the value should be inserted in.

    Declaration
    [JsonProperty("path", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Path { get; set; }
    Property Value
    string

    Replace

    Indicates whether existing values should be replaced.
    Note: for multi fieldsets and relations, this setting controls, if the value is added
    to the already existing values or if the existing values shall be overwritten.

    Declaration
    [JsonProperty("replace", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool Replace { get; set; }
    Property Value
    bool

    Value

    Value to assign.

    Declaration
    [JsonProperty("value", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public object Value { get; set; }
    Property Value
    object

    Methods

    FromJson(string)

    Declaration
    public static AssignValueAction FromJson(string data)
    Parameters
    string data

    Returns
    AssignValueAction

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX