Operation<TModel> Class

Syntax

public class Operation<TModel> : Operation where TModel : class

GitHub

View on GitHub

Microsoft.AspNet.JsonPatch.Operations.Operation<TModel>

Constructors

Microsoft.AspNet.JsonPatch.Operations.Operation<TModel>.Operation()
public Operation()
Operation(System.String, System.String, System.String)
Arguments:
  • op (System.String) –
  • path (System.String) –
  • from (System.String) –
public Operation(string op, string path, string from)
Operation(System.String, System.String, System.String, System.Object)
Arguments:
  • op (System.String) –
  • path (System.String) –
  • from (System.String) –
  • value (System.Object) –
public Operation(string op, string path, string from, object value)

Methods

Apply(TModel, Microsoft.AspNet.JsonPatch.Adapters.IObjectAdapter<TModel>)
Arguments:
  • objectToApplyTo (TModel) –
  • adapter (Microsoft.AspNet.JsonPatch.Adapters.IObjectAdapter{{TModel}}) –
public void Apply(TModel objectToApplyTo, IObjectAdapter<TModel> adapter)
Microsoft.AspNet.JsonPatch.Operations.Operation<TModel>.ShouldSerializevalue()
Return type:System.Boolean
public bool ShouldSerializevalue()