Operation<TModel> Class¶
Inheritance Hierarchy¶
System.Object
Microsoft.AspNet.JsonPatch.Operations.OperationBase
Microsoft.AspNet.JsonPatch.Operations.Operation
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()
-