Example #1
0
 static void Main(string[] args)
 {
     var bootstrapper = new Bootstrapper(new ConsoleLogger(), Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData));
     bootstrapper.Start();
     System.Console.ReadLine();
     bootstrapper.Stop();
 }
Example #2
0
 protected override void OnStart(string[] args)
 {
     _bootstrapper = new Bootstrapper(new EventLogger(), Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData));
     _bootstrapper.Start();
 }