public void BeginInitialize(IChronosApplication application)
 {
     _application   = (Host.IApplication)application;
     _clientProcess = ApplicationManager.Main.RunApplication();
     _clientProcess.EnableRaisingEvents = true;
     _clientProcess.Exited += OnClientProcessExited;
 }
 public void BeginInitialize(IChronosApplication application)
 {
     if (application is Host.IApplication)
     {
         _adapter = new HostApplicationExtensionAdapter();
     }
     else if (application is Daemon.IApplication)
     {
         _adapter = new DaemonApplicationExtensionAdapter();
     }
     else
     {
         _adapter = new EmptyApplicationExtensionAdapter();
     }
     _adapter.BeginInitialize(application);
 }
Example #3
0
        public void Initialize(IChronosApplication application)
        {
            IHostApplication hostApplication = (IHostApplication)application;

            hostApplication.ProfilingTargets.Register(new ProfilingTarget());
        }
 public void BeginInitialize(IChronosApplication application)
 {
 }
 public void BeginInitialize(IChronosApplication application)
 {
     Adapter.BeginInitialize(application);
 }
Example #6
0
 public void BeginInitialize(IChronosApplication application)
 {
     _application   = (Daemon.IApplication)application;
     _clientProcess = ApplicationManager.Profiling.RunApplication(_application.Uid);
 }