AdapterFactory.Create(Object, IContractResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an Microsoft.AspNetCore.JsonPatch.Internal.IAdapter for the current object
public:
virtual Microsoft::AspNetCore::JsonPatch::Internal::IAdapter ^ Create(System::Object ^ target, Newtonsoft::Json::Serialization::IContractResolver ^ contractResolver);
public virtual Microsoft.AspNetCore.JsonPatch.Internal.IAdapter Create (object target, Newtonsoft.Json.Serialization.IContractResolver contractResolver);
abstract member Create : obj * Newtonsoft.Json.Serialization.IContractResolver -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
override this.Create : obj * Newtonsoft.Json.Serialization.IContractResolver -> Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
Public Overridable Function Create (target As Object, contractResolver As IContractResolver) As IAdapter
Parameters
- target
- Object
The target object
- contractResolver
- Newtonsoft.Json.Serialization.IContractResolver
The current contract resolver
Returns
Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
The needed Microsoft.AspNetCore.JsonPatch.Internal.IAdapter