public static void Main(string[] args) { var kernel = ServiceBootstrapper.Create(); kernel.Bind <IPaths>().To <UacCompliantPaths>().InSingletonScope(); kernel.Get <ConsoleHost>().Start(args); }
protected override void Configure() { kernel = ServiceBootstrapper.Create(); kernel.Bind <IWindowManager>().To <WindowManager>().InSingletonScope(); kernel.Bind <IResultFactory>().To <ResultFactory>(); kernel.Bind <IParser>().To <Common.CommandLine.Parser>(); SetupCustomMessageBindings(); }
protected override void Configure() { kernel = ServiceBootstrapper.Create(); kernel.Bind <IWindowManager>().To <WindowManager>().InSingletonScope(); kernel.Bind <IResultFactory>().To <ResultFactory>(); SetupCustomMessageBindings(); kernel.Get <IPersistanceManager>().Load(); }
protected override void Configure() { kernel = ServiceBootstrapper.Create(); kernel.Bind <IWindowManager>().To <WindowManager>().InSingletonScope(); kernel.Bind <IResultFactory>().To <ResultFactory>(); kernel.Bind <IPaths>().To <UacCompliantPaths>().InSingletonScope(); SetupCustomMessageBindings(); }
protected override void Configure() { kernel = ServiceBootstrapper.Create(); kernel.Bind <IWindowManager>().To <WindowManager>().InSingletonScope(); kernel.Bind <IResultFactory>().To <ResultFactory>(); kernel.Bind <IParser>().To <Parser>(); kernel.Bind <MainShellViewModel>().ToSelf().InSingletonScope(); kernel.Bind <TrayIconViewModel>().ToSelf().InSingletonScope(); ConfigurePanels(); SetupCustomMessageBindings(); }
public static void Main(string[] args) { var kernel = ServiceBootstrapper.Create(); kernel.Get <ConsoleHost>().Start(args); }