diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-09 09:25:33 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-09 09:25:33 -0700 |
commit | 9938982dc1ae0c2125291667262b713550a0cf8c (patch) | |
tree | e5478f19d2381adc79bc75841636e9797918ad4a | |
parent | 48f927b47a0d0c3c72c41df6ed6eefc01c8c0d15 (diff) | |
download | DotNetOpenAuth-9938982dc1ae0c2125291667262b713550a0cf8c.zip DotNetOpenAuth-9938982dc1ae0c2125291667262b713550a0cf8c.tar.gz DotNetOpenAuth-9938982dc1ae0c2125291667262b713550a0cf8c.tar.bz2 |
StyleCop fixes.
-rw-r--r-- | samples/OAuthConsumer/Yammer.aspx.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/OAuthConsumer/Yammer.aspx.cs b/samples/OAuthConsumer/Yammer.aspx.cs index 0c5b59e..d8993fe 100644 --- a/samples/OAuthConsumer/Yammer.aspx.cs +++ b/samples/OAuthConsumer/Yammer.aspx.cs @@ -39,7 +39,7 @@ protected void Page_Load(object sender, EventArgs e) { if (this.TokenManager != null) { - this.MultiView1.SetActiveView(BeginAuthorizationView); + this.MultiView1.SetActiveView(this.BeginAuthorizationView); } } @@ -54,7 +54,7 @@ this.RequestToken = requestToken; string javascript = "window.open('" + popupWindowLocation.AbsoluteUri + "');"; this.Page.ClientScript.RegisterStartupScript(GetType(), "YammerPopup", javascript, true); - MultiView1.SetActiveView(CompleteAuthorizationView); + this.MultiView1.SetActiveView(this.CompleteAuthorizationView); } protected void finishAuthorizationButton_Click(object sender, EventArgs e) { @@ -63,7 +63,7 @@ } var yammer = YammerConsumer.CreateConsumer(this.TokenManager); - var authorizationResponse = YammerConsumer.CompleteAuthorization(yammer, this.RequestToken, yammerUserCode.Text); + var authorizationResponse = YammerConsumer.CompleteAuthorization(yammer, this.RequestToken, this.yammerUserCode.Text); if (authorizationResponse != null) { this.accessTokenLabel.Text = HttpUtility.HtmlEncode(authorizationResponse.AccessToken); this.MultiView1.SetActiveView(this.AuthorizationCompleteView); |