ServiceContractResolver クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
でSystem.Net.Http.Formatting.JsonMediaTypeFormatter使用される既定値Newtonsoft.Json.Serialization.IContractResolverを表しますが、キャメル ケースシリアル化のサポートが追加されています。 フォーマッタ System.Net.Http.Formatting.IRequiredMemberSelector を使用して必要なメンバーを選択し、型の注釈を SerializableAttribute 認識します。
public class ServiceContractResolver : System.Net.Http.Formatting.JsonContractResolver
type ServiceContractResolver = class
inherit JsonContractResolver
Public Class ServiceContractResolver
Inherits JsonContractResolver
- 継承
-
System.Net.Http.Formatting.JsonContractResolverServiceContractResolver
- 派生
コンストラクター
ServiceContractResolver(MediaTypeFormatter) |
必要なメンバーの解決に使用する を指定して、 のServiceContractResolver |
メソッド
ResolvePropertyName(String) |
でSystem.Net.Http.Formatting.JsonMediaTypeFormatter使用される既定値Newtonsoft.Json.Serialization.IContractResolverを表しますが、キャメル ケースシリアル化のサポートが追加されています。 フォーマッタ System.Net.Http.Formatting.IRequiredMemberSelector を使用して必要なメンバーを選択し、型の注釈を SerializableAttribute 認識します。 |
適用対象
Azure SDK for .NET