summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-09-17 17:19:26 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-09-17 17:19:26 -0700
commitbab1c76d35421a3d2a1608e6f3e66d67b4fbdb09 (patch)
treecc27e38eb52d26bb2a977b2d0335f0f04a23c746 /src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs
parent344c333ecd76785a77b8a1a56e1bc360ae159d04 (diff)
downloadDotNetOpenAuth-bab1c76d35421a3d2a1608e6f3e66d67b4fbdb09.zip
DotNetOpenAuth-bab1c76d35421a3d2a1608e6f3e66d67b4fbdb09.tar.gz
DotNetOpenAuth-bab1c76d35421a3d2a1608e6f3e66d67b4fbdb09.tar.bz2
DotNetOpenAuth.Messaging no longer relies on ccrewrite.exe
Diffstat (limited to 'src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs')
-rw-r--r--src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs b/src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs
index f9ddf3d..b44bbbf 100644
--- a/src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs
+++ b/src/DotNetOpenAuth.Messaging/Messaging/IMessageFactory.cs
@@ -66,8 +66,8 @@ namespace DotNetOpenAuth.Messaging {
/// deserialize to. Null if the request isn't recognized as a valid protocol message.
/// </returns>
IDirectedProtocolMessage IMessageFactory.GetNewRequestMessage(MessageReceivingEndpoint recipient, IDictionary<string, string> fields) {
- Contract.Requires<ArgumentNullException>(recipient != null);
- Contract.Requires<ArgumentNullException>(fields != null);
+ Requires.NotNull(recipient, "recipient");
+ Requires.NotNull(fields, "fields");
throw new NotImplementedException();
}
@@ -83,8 +83,8 @@ namespace DotNetOpenAuth.Messaging {
/// deserialize to. Null if the request isn't recognized as a valid protocol message.
/// </returns>
IDirectResponseProtocolMessage IMessageFactory.GetNewResponseMessage(IDirectedProtocolMessage request, IDictionary<string, string> fields) {
- Contract.Requires<ArgumentNullException>(request != null);
- Contract.Requires<ArgumentNullException>(fields != null);
+ Requires.NotNull(request, "request");
+ Requires.NotNull(fields, "fields");
throw new NotImplementedException();
}