What is and when would I use
[ContractClassFor(typeof())]
MSDN explanation is not telling me much about it. Thank you,
What is and when would I use
[ContractClassFor(typeof())]
MSDN explanation is not telling me much about it. Thank you,
この属性を使用すると、インターフェイスのコードコントラクト条件を定義できます。詳細については、次のサイトが役立つ場合がありますhttp://devjourney.com/blog/code-contracts-part-5-abstract-types-and-interfaces/
更新:Kevinがコンテンツを削除したようです。コンテンツのキャッシュはここにあります:http://web.archive.org/web/20120105070912/http ://devjourney.com/blog/code-contracts-part-5-abstract-types-and-interfaces/