データメンバを逆シリアル化するときにWCF直列化エンジンが使用するコンストラクタを指定できますか?WCF DataMemberのオーバーライド辞書コンストラクタ
例:Dictionaryから継承する新しいクラスを作成せずに、このコンストラクタを使用して大文字と小文字を区別しない辞書を作成したいとします。
[DataMember]
Dictionary<string, string> Values { get; set; }
// Values should be created with this constructor
new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase);
私はそれを恐れていました。確認していただきありがとうございます。 – chilltemp