using System; using System.Collections.Generic; using System.Linq; using System.Text; using Web.Core; using FLocal.Common; using System.Xml.Linq; using FLocal.Common.dataobjects; using Web.Core.DB; using Web.Core.DB.conditions; namespace FLocal.IISHandler.handlers.response { class UploadInfoHandler : AbstractGetHandler { protected override string templateName { get { return "UploadInfo.xslt"; } } protected override IEnumerable getSpecificData(WebContext context) { if(context.session == null) { throw new AccessDeniedException(); } return new XElement[] { this.url.upload.exportToXml(context), }; } } }