diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-16 20:15:06 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-16 20:15:06 -0800 |
commit | fcee7171b683db63aafac3c7351b22a849d06db4 (patch) | |
tree | 69e98c2be1e4fb8d8496010ee6e45e5d19ac0a36 /src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs | |
parent | 04426dfbba325fd4ed308a6c9c6c103fed14ff13 (diff) | |
download | DotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.zip DotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.tar.gz DotNetOpenAuth-fcee7171b683db63aafac3c7351b22a849d06db4.tar.bz2 |
Lots of stylecop fixes.
Diffstat (limited to 'src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs b/src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs index c56a170..8266ff0 100644 --- a/src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs +++ b/src/DotNetOpenAuth.OpenId/Yadis/DiscoveryResult.cs @@ -28,7 +28,7 @@ namespace DotNetOpenAuth.Yadis { private HttpResponseMessage htmlFallback; /// <summary> - /// Initializes a new instance of the <see cref="DiscoveryResult" /> class. + /// Prevents a default instance of the <see cref="DiscoveryResult" /> class from being created. /// </summary> private DiscoveryResult() { } @@ -70,6 +70,13 @@ namespace DotNetOpenAuth.Yadis { /// </summary> public bool IsXrds { get; private set; } + /// <summary> + /// Initializes a new instance of the <see cref="DiscoveryResult"/> class. + /// </summary> + /// <param name="requestUri">The request URI.</param> + /// <param name="initialResponse">The initial response.</param> + /// <param name="finalResponse">The final response.</param> + /// <returns>The newly initialized instance.</returns> internal static async Task<DiscoveryResult> CreateAsync(Uri requestUri, HttpResponseMessage initialResponse, HttpResponseMessage finalResponse) { var result = new DiscoveryResult(); result.RequestUri = requestUri; |