diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-01 16:06:01 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-01 16:06:01 -0700 |
commit | 4e83c2d321f57cac5e5605097faf15bf1b46efa5 (patch) | |
tree | 3bb5c8dff9b56f1fd2e621417c0a2efcee94adbb /src/DotNetOAuth/IProtocolMessage.cs | |
parent | d5fb1dbbc8388eac763ef85310097a618ff90437 (diff) | |
download | DotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.zip DotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.tar.gz DotNetOpenAuth-4e83c2d321f57cac5e5605097faf15bf1b46efa5.tar.bz2 |
Lots of StyleCop changes.
Diffstat (limited to 'src/DotNetOAuth/IProtocolMessage.cs')
-rw-r--r-- | src/DotNetOAuth/IProtocolMessage.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/DotNetOAuth/IProtocolMessage.cs b/src/DotNetOAuth/IProtocolMessage.cs index a1ba259..76512a4 100644 --- a/src/DotNetOAuth/IProtocolMessage.cs +++ b/src/DotNetOAuth/IProtocolMessage.cs @@ -1,4 +1,10 @@ -namespace DotNetOAuth {
+//-----------------------------------------------------------------------
+// <copyright file="IProtocolMessage.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOAuth {
using System;
using System.Collections.Generic;
using System.Text;
@@ -7,11 +13,17 @@ /// The interface that classes must implement to be serialized/deserialized
/// as OAuth messages.
/// </summary>
- interface IProtocolMessage {
+ internal interface IProtocolMessage {
+ /// <summary>
+ /// Gets the version of the protocol this message is prepared to implement.
+ /// </summary>
+ Protocol Protocol { get; }
+
/// <summary>
/// Gets whether this is a direct or indirect message.
/// </summary>
MessageTransport Transport { get; }
+
/// <summary>
/// Checks the message state for conformity to the protocol specification
/// and throws an exception if the message is invalid.
|