示例#1
0
 protected override void OnStart(string[] args)
 {
     host = new IISExpressHost();
     Action start = host.Start;
     start.BeginInvoke(delegate(IAsyncResult param)
     {
         start.EndInvoke(param);
     }, host);
 }
示例#2
0
 protected override void OnStart(string[] args)
 {
     Log.Setup("WebMediaPortalHosting.log", false);
     host = new IISExpressHost();
     Action start = host.Start;
     start.BeginInvoke(delegate(IAsyncResult param)
     {
         start.EndInvoke(param);
     }, host);
 }
示例#3
0
        protected override void OnStart(string[] args)
        {
            host = new IISExpressHost();
            Action start = host.Start;

            start.BeginInvoke(delegate(IAsyncResult param)
            {
                start.EndInvoke(param);
            }, host);
        }
示例#4
0
        protected override void OnStart(string[] args)
        {
            LogRotation.Rotate();
            Log.Setup("WebMediaPortalHosting.log", false);
            Installation.Load(MPExtendedProduct.WebMediaPortal);
            host = new IISExpressHost();
            Action start = host.Start;

            start.BeginInvoke(delegate(IAsyncResult param)
            {
                start.EndInvoke(param);
            }, host);
        }
示例#5
0
        protected override void OnStart(string[] args)
        {
            LogRotation.Rotate();
            Log.Filename = "WebMediaPortalHosting.log";
            Log.ConsoleLogging = false;
            Log.TraceLogging = false;
            Log.Setup();

            Installation.Load(MPExtendedProduct.WebMediaPortal);
            host = new IISExpressHost();
            Action start = host.Start;
            start.BeginInvoke(delegate(IAsyncResult param)
            {
                start.EndInvoke(param);
            }, host);
        }