AdapterFactory.Create(Object, IContractResolver) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Microsoft.AspNetCore.JsonPatch.Internal.IAdapter为当前对象创建
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
参数
- target
- Object
目标对象
- contractResolver
- Newtonsoft.Json.Serialization.IContractResolver
当前合同解析程序
返回
Microsoft.AspNetCore.JsonPatch.Internal.IAdapter
所需的 Microsoft.AspNetCore.JsonPatch.Internal.IAdapter