summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-26 20:25:41 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-26 20:25:41 -0700
commit3bc04e1eefb4ef1b51977a15dad504c922141d16 (patch)
tree880bc8a7c96d952fcee58f7ea89cbc01482dfddd /src
parent461810cf0d89103d79e6ee0544993ee3991fe80e (diff)
downloadDotNetOpenAuth-3bc04e1eefb4ef1b51977a15dad504c922141d16.zip
DotNetOpenAuth-3bc04e1eefb4ef1b51977a15dad504c922141d16.tar.gz
DotNetOpenAuth-3bc04e1eefb4ef1b51977a15dad504c922141d16.tar.bz2
Last StyleCop fixes.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs8
-rw-r--r--src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdAjaxRelyingParty.cs13
2 files changed, 14 insertions, 7 deletions
diff --git a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
index 69160c0..c2003c9 100644
--- a/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
+++ b/src/DotNetOpenAuth.OAuth.Consumer/OAuth/AccessTokenResponse.cs
@@ -1,4 +1,10 @@
-namespace DotNetOpenAuth.OAuth {
+//-----------------------------------------------------------------------
+// <copyright file="AccessTokenResponse.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOpenAuth.OAuth {
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
diff --git a/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdAjaxRelyingParty.cs b/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdAjaxRelyingParty.cs
index 73cb541..c0c1ec2 100644
--- a/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdAjaxRelyingParty.cs
+++ b/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/OpenIdAjaxRelyingParty.cs
@@ -236,12 +236,13 @@ namespace DotNetOpenAuth.OpenId.RelyingParty {
// string userSuppliedIdentifier;
// jsonResponse discoveryResult; // contains result of call to SerializeDiscoveryAsJson(Identifier)
// }
- var jsonAsync = (from request in requests
- group request by request.DiscoveryResult.UserSuppliedIdentifier into requestsByIdentifier
- select new {
- userSuppliedIdentifier = (string)requestsByIdentifier.Key,
- discoveryResult = this.AsJsonDiscoveryResultAsync(requestsByIdentifier, cancellationToken),
- }).ToArray();
+ var jsonAsync = (
+ from request in requests
+ group request by request.DiscoveryResult.UserSuppliedIdentifier into requestsByIdentifier
+ select new {
+ userSuppliedIdentifier = (string)requestsByIdentifier.Key,
+ discoveryResult = this.AsJsonDiscoveryResultAsync(requestsByIdentifier, cancellationToken),
+ }).ToArray();
await Task.WhenAll(jsonAsync.Select(j => j.discoveryResult));
var json =
from j in jsonAsync