Operation Class

Namespace
Microsoft.AspNetCore.JsonPatch.Operations
Assemblies
  • Microsoft.AspNetCore.JsonPatch

Syntax

public class Operation : OperationBase
class Microsoft.AspNetCore.JsonPatch.Operations.Operation

Constructors

Operation()
public Operation()
Operation(System.String, System.String, System.String)
public Operation(string op, string path, string from)
Operation(System.String, System.String, System.String, System.Object)
public Operation(string op, string path, string from, object value)

Methods

Apply(System.Object, Microsoft.AspNetCore.JsonPatch.Adapters.IObjectAdapter)
public void Apply(object objectToApplyTo, IObjectAdapter adapter)
ShouldSerializevalue()
Return type:System.Boolean
public bool ShouldSerializevalue()

Properties

Microsoft.AspNetCore.JsonPatch.Operations.Operation.value
Return type:System.Object
[JsonProperty("value")]
public object value { get; set; }