Partager via


ObjectAdapter Constructeurs

Définition

Surcharges

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Initialise une nouvelle instance de ObjectAdapter.

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Initialise une nouvelle instance de 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

Initialise une nouvelle instance de 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))

Paramètres

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

L’Newtonsoft.Json.Serialization.IContractResolveropérateur

logErrorAction
Action<JsonPatchError>

pour la Action journalisation JsonPatchError.

S’applique à

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

Initialise une nouvelle instance de 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)

Paramètres

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

L’Newtonsoft.Json.Serialization.IContractResolveropérateur

logErrorAction
Action<JsonPatchError>

pour la Action journalisation JsonPatchError.

adapterFactory
IAdapterFactory

à utiliser lors de la IAdapterFactory création d’adaptateurs.

S’applique à