Exemplo n.º 1
0
        protected void ButtonStarlight_Click(object sender, EventArgs e)
        {
            var engine = new StarlightEngine();
            var xml    = engine.GetLinks(_investigationId);

            Response.ClearContent();
            Response.ClearHeaders();
            Response.ContentType = "text/xml";
            Response.AppendHeader("Content-disposition", "Attachment; filename=IndividualCompanyLinks.xml");

            Response.Write(xml);
            Response.End();
        }
Exemplo n.º 2
0
        [Test] public void TestLinkExport()
        {
            var s = new StarlightEngine();

            Console.Write(s.GetLinks(101));
        }