diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-07 08:23:26 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-07 08:23:26 -0700 |
commit | 78224f3d66f84435a2a1cfe809af8b0ca255523a (patch) | |
tree | ce5f43d53b0ff615c61027d0e17482ea124e7e5e | |
parent | 191c7e7852f2c91a2da960f0ee08c635df8347bb (diff) | |
download | DotNetOpenAuth-78224f3d66f84435a2a1cfe809af8b0ca255523a.zip DotNetOpenAuth-78224f3d66f84435a2a1cfe809af8b0ca255523a.tar.gz DotNetOpenAuth-78224f3d66f84435a2a1cfe809af8b0ca255523a.tar.bz2 |
StyleCop fixes.
-rw-r--r-- | samples/OpenIdProviderWebForms/Default.aspx.cs | 10 | ||||
-rw-r--r-- | src/DotNetOpenAuth/Messaging/MessagingUtilities.cs | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/samples/OpenIdProviderWebForms/Default.aspx.cs b/samples/OpenIdProviderWebForms/Default.aspx.cs index 808dbb1..4843639 100644 --- a/samples/OpenIdProviderWebForms/Default.aspx.cs +++ b/samples/OpenIdProviderWebForms/Default.aspx.cs @@ -14,12 +14,12 @@ protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["rp"] != null) { if (Page.User.Identity.IsAuthenticated) { - SendAssertion(Request.QueryString["rp"]); + this.SendAssertion(Request.QueryString["rp"]); } else { FormsAuthentication.RedirectToLoginPage(); } } else { - TextBox relyingPartySite = (TextBox)loginView.FindControl("relyingPartySite"); + TextBox relyingPartySite = (TextBox)this.loginView.FindControl("relyingPartySite"); if (relyingPartySite != null) { relyingPartySite.Focus(); } @@ -27,8 +27,8 @@ } protected void sendAssertionButton_Click(object sender, EventArgs e) { - TextBox relyingPartySite = (TextBox)loginView.FindControl("relyingPartySite"); - SendAssertion(relyingPartySite.Text); + TextBox relyingPartySite = (TextBox)this.loginView.FindControl("relyingPartySite"); + this.SendAssertion(relyingPartySite.Text); } private void SendAssertion(string relyingPartyRealm) { @@ -39,7 +39,7 @@ string rpSite = Identifier.Parse(relyingPartyRealm); op.PrepareUnsolicitedAssertion(providerEndpoint, rpSite, Util.BuildIdentityUrl(), Util.BuildIdentityUrl()).Send(); } catch (ProtocolException ex) { - Label errorLabel = (Label)loginView.FindControl("errorLabel"); + Label errorLabel = (Label)this.loginView.FindControl("errorLabel"); errorLabel.Visible = true; errorLabel.Text = ex.Message; } diff --git a/src/DotNetOpenAuth/Messaging/MessagingUtilities.cs b/src/DotNetOpenAuth/Messaging/MessagingUtilities.cs index 44d6a1c..fe1e4e8 100644 --- a/src/DotNetOpenAuth/Messaging/MessagingUtilities.cs +++ b/src/DotNetOpenAuth/Messaging/MessagingUtilities.cs @@ -337,7 +337,7 @@ namespace DotNetOpenAuth.Messaging { } catch (SecurityException) { Logger.Messaging.Warn("Unable to clone some HttpWebRequest properties due to partial trust."); } - + return newRequest; } |