diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-26 12:52:06 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-26 12:52:06 -0700 |
commit | b9ae2ab289e2b9708ea3cce055ac484b00246a8a (patch) | |
tree | 28ef380a84c743075cbddf3417556e1d1bb37f49 /src/DotNetOpenAuth.Core/Messaging/Channel.cs | |
parent | 3d37ff45cab6838d80b22e6b782a0b9b4c2f4aeb (diff) | |
download | DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.zip DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.gz DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.bz2 |
Lots of StyleCop fixes.
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/Channel.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/Channel.cs | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/Channel.cs b/src/DotNetOpenAuth.Core/Messaging/Channel.cs index 9414166..0ffe2a6 100644 --- a/src/DotNetOpenAuth.Core/Messaging/Channel.cs +++ b/src/DotNetOpenAuth.Core/Messaging/Channel.cs @@ -221,6 +221,22 @@ namespace DotNetOpenAuth.Messaging { } /// <summary> + /// Gets or sets the outgoing message filter. + /// </summary> + /// <value> + /// The outgoing message filter. + /// </value> + internal Action<IProtocolMessage> OutgoingMessageFilter { get; set; } + + /// <summary> + /// Gets or sets the incoming message filter. + /// </summary> + /// <value> + /// The incoming message filter. + /// </value> + internal Action<IProtocolMessage> IncomingMessageFilter { get; set; } + + /// <summary> /// Gets the binding elements used by this channel, in no particular guaranteed order. /// </summary> protected internal ReadOnlyCollection<IChannelBindingElement> BindingElements { @@ -327,8 +343,8 @@ namespace DotNetOpenAuth.Messaging { /// Gets the protocol message embedded in the given HTTP request, if present. /// </summary> /// <typeparam name="TRequest">The expected type of the message to be received.</typeparam> - /// <param name="cancellationToken">The cancellation token.</param> /// <param name="httpRequest">The request to search for an embedded message.</param> + /// <param name="cancellationToken">The cancellation token.</param> /// <returns> /// True if the expected message was recognized and deserialized. False otherwise. /// </returns> @@ -352,8 +368,8 @@ namespace DotNetOpenAuth.Messaging { /// Gets the protocol message embedded in the given HTTP request. /// </summary> /// <typeparam name="TRequest">The expected type of the message to be received.</typeparam> - /// <param name="cancellationToken">The cancellation token.</param> /// <param name="httpRequest">The request to search for an embedded message.</param> + /// <param name="cancellationToken">The cancellation token.</param> /// <returns> /// The deserialized message. Never null. /// </returns> @@ -503,7 +519,10 @@ namespace DotNetOpenAuth.Messaging { /// Gets the protocol message that may be in the given HTTP response. /// </summary> /// <param name="response">The response that is anticipated to contain an protocol message.</param> - /// <returns>The deserialized message parts, if found. Null otherwise.</returns> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns> + /// The deserialized message parts, if found. Null otherwise. + /// </returns> /// <exception cref="ProtocolException">Thrown when the response is not valid.</exception> internal Task<IDictionary<string, string>> ReadFromResponseCoreAsyncTestHook(HttpResponseMessage response, CancellationToken cancellationToken) { return this.ReadFromResponseCoreAsync(response, cancellationToken); @@ -975,10 +994,6 @@ namespace DotNetOpenAuth.Messaging { return dictionary; } - internal Action<IProtocolMessage> OutgoingMessageFilter { get; set; } - - internal Action<IProtocolMessage> IncomingMessageFilter { get; set; } - /// <summary> /// Prepares a message for transmit by applying signatures, nonces, etc. /// </summary> |