Sdílet prostřednictvím


ObjectAdapter Konstruktory

Definice

Přetížení

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Inicializuje novou instanci .ObjectAdapter

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Inicializuje novou instanci .ObjectAdapter

ObjectAdapter(IContractResolver, Action<JsonPatchError>)

Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs

Inicializuje novou instanci .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))

Parametry

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Hodnota Newtonsoft.Json.Serialization.IContractResolver

logErrorAction
Action<JsonPatchError>

Pro Action protokolování JsonPatchError.

Platí pro

ObjectAdapter(IContractResolver, Action<JsonPatchError>, IAdapterFactory)

Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs
Zdroj:
ObjectAdapter.cs

Inicializuje novou instanci .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)

Parametry

contractResolver
Newtonsoft.Json.Serialization.IContractResolver

Hodnota Newtonsoft.Json.Serialization.IContractResolver

logErrorAction
Action<JsonPatchError>

Pro Action protokolování JsonPatchError.

adapterFactory
IAdapterFactory

Slouží IAdapterFactory k použití při vytváření adaptérů.

Platí pro