Share via


ObjectAdapter Constructors

Definition

Overloads

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Initializes a new instance of ObjectAdapter.

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Initializes a new instance of ObjectAdapter.

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs

Initializes a new instance of ObjectAdapter.

public:
 ObjectAdapter(Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction);
public ObjectAdapter (Newtonsoft.Json.Serialization.IContractResolver contractResolver, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction);
new Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter : Newtonsoft.Json.Serialization.IContractResolver * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> -> Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter
Public Sub New (contractResolver As IContractResolver, logErrorAction As Action(Of JsonPatchError))

Parameters

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

The Newtonsoft.Json.Serialization.IContractResolver.

logErrorAction
Action<JsonPatchError>

The Action for logging JsonPatchError.

Applies to

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs
Source:
ObjectAdapter.cs

Initializes a new instance of ObjectAdapter.

public:
 ObjectAdapter(Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver, Action<Microsoft::AspNetCore::JsonPatch::JsonPatchError ^> ^ logErrorAction, Microsoft::AspNetCore::JsonPatch::Adapters::IAdapterFactory ^ adapterFactory);
public ObjectAdapter (Newtonsoft.Json.Serialization.IContractResolver contractResolver, Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> logErrorAction, Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory adapterFactory);
new Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter : Newtonsoft.Json.Serialization.IContractResolver * Action<Microsoft.AspNetCore.JsonPatch.JsonPatchError> * Microsoft.AspNetCore.JsonPatch.Adapters.IAdapterFactory -> Microsoft.AspNetCore.JsonPatch.Adapters.ObjectAdapter
Public Sub New (contractResolver As IContractResolver, logErrorAction As Action(Of JsonPatchError), adapterFactory As IAdapterFactory)

Parameters

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

The Newtonsoft.Json.Serialization.IContractResolver.

logErrorAction
Action<JsonPatchError>

The Action for logging JsonPatchError.

adapterFactory
IAdapterFactory

The IAdapterFactory to use when creating adaptors.

Applies to