From 765bf3dcd256d8aa5c7965184c4373e79ee82cbc Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 10 Sep 2010 17:09:37 +0000 Subject: [PATCH] Handler name in output XML --- IISMainHandler/handlers/AbstractGetHandler.cs | 1 + IISMainHandler/handlers/request/AbstractPostHandler.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/IISMainHandler/handlers/AbstractGetHandler.cs b/IISMainHandler/handlers/AbstractGetHandler.cs index 0a54505..500fcaa 100644 --- a/IISMainHandler/handlers/AbstractGetHandler.cs +++ b/IISMainHandler/handlers/AbstractGetHandler.cs @@ -16,6 +16,7 @@ namespace FLocal.IISHandler.handlers { protected IEnumerable getCommonData(WebContext context) { return new XElement[] { + new XElement("handlerName", this.GetType().FullName), new XElement("title", Config.instance.AppInfo), new XElement("current", DateTime.Now.ToXml()), context.exportSession(), diff --git a/IISMainHandler/handlers/request/AbstractPostHandler.cs b/IISMainHandler/handlers/request/AbstractPostHandler.cs index 075b6a0..d996d32 100644 --- a/IISMainHandler/handlers/request/AbstractPostHandler.cs +++ b/IISMainHandler/handlers/request/AbstractPostHandler.cs @@ -29,6 +29,7 @@ namespace FLocal.IISHandler.handlers.request { protected IEnumerable getCommonData(WebContext context) { return new XElement[] { + new XElement("handlerName", this.GetType().FullName), new XElement("title", Config.instance.AppInfo), new XElement("timestamp", DateTime.Now.Ticks.ToString()), context.userSettings.skin.exportToXml(),