summaryrefslogtreecommitdiffstats
path: root/src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs')
-rw-r--r--src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs b/src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs
index 7075ce3..31218b9 100644
--- a/src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs
+++ b/src/InfoCard/InfoCardRelyingParty/TracePage.aspx.cs
@@ -7,15 +7,17 @@ using System.Web.UI.WebControls;
/// <summary>
/// A page to display recent log messages.
/// </summary>
-public partial class TracePage : System.Web.UI.Page {
- protected void Page_Load(object sender, EventArgs e) {
- this.placeHolder1.Controls.Add(new Label { Text = HttpUtility.HtmlEncode(Logging.LogMessages.ToString()) });
- }
+namespace InfoCardRelyingParty {
+ public partial class TracePage : System.Web.UI.Page {
+ protected void Page_Load(object sender, EventArgs e) {
+ this.placeHolder1.Controls.Add(new Label { Text = HttpUtility.HtmlEncode(Logging.LogMessages.ToString()) });
+ }
- protected void clearLogButton_Click(object sender, EventArgs e) {
- Logging.LogMessages.Length = 0;
+ protected void clearLogButton_Click(object sender, EventArgs e) {
+ Logging.LogMessages.Length = 0;
- // clear the page immediately, and allow for F5 without a Postback warning.
- Response.Redirect(Request.Url.AbsoluteUri);
- }
+ // clear the page immediately, and allow for F5 without a Postback warning.
+ Response.Redirect(Request.Url.AbsoluteUri);
+ }
+ }
}