diff options
Diffstat (limited to 'samples/OAuthServiceProvider/OAuth2.ashx.cs')
-rw-r--r-- | samples/OAuthServiceProvider/OAuth2.ashx.cs | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/samples/OAuthServiceProvider/OAuth2.ashx.cs b/samples/OAuthServiceProvider/OAuth2.ashx.cs index cd76254..272502c 100644 --- a/samples/OAuthServiceProvider/OAuth2.ashx.cs +++ b/samples/OAuthServiceProvider/OAuth2.ashx.cs @@ -9,11 +9,18 @@ using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuthWrap; - /// <summary> - /// Summary description for OAuth2 - /// </summary> public class OAuth2 : IHttpHandler, IRequiresSessionState { /// <summary> + /// Gets a value indicating whether another request can use the <see cref="T:System.Web.IHttpHandler"/> instance. + /// </summary> + /// <value>Always <c>true</c></value> + /// <returns>true if the <see cref="T:System.Web.IHttpHandler"/> instance is reusable; otherwise, false. + /// </returns> + public bool IsReusable { + get { return true; } + } + + /// <summary> /// Enables processing of HTTP Web requests by a custom HttpHandler that implements the <see cref="T:System.Web.IHttpHandler"/> interface. /// </summary> /// <param name="context">An <see cref="T:System.Web.HttpContext"/> object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.</param> @@ -42,15 +49,5 @@ break; } } - - /// <summary> - /// Gets a value indicating whether another request can use the <see cref="T:System.Web.IHttpHandler"/> instance. - /// </summary> - /// <value>Always <c>true</c></value> - /// <returns>true if the <see cref="T:System.Web.IHttpHandler"/> instance is reusable; otherwise, false. - /// </returns> - public bool IsReusable { - get { return true; } - } } }
\ No newline at end of file |