Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var kernel = ServiceBootstrapper.Create();

            kernel.Bind <IPaths>().To <UacCompliantPaths>().InSingletonScope();
            kernel.Get <ConsoleHost>().Start(args);
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        protected override void Configure()
        {
            kernel = ServiceBootstrapper.Create();
            kernel.Bind <IWindowManager>().To <WindowManager>().InSingletonScope();
            kernel.Bind <IResultFactory>().To <ResultFactory>();

            SetupCustomMessageBindings();
            kernel.Get <IPersistanceManager>().Load();
        }
Ejemplo n.º 4
0
        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();
        }
Ejemplo n.º 6
0
        public static void Main(string[] args)
        {
            var kernel = ServiceBootstrapper.Create();

            kernel.Get <ConsoleHost>().Start(args);
        }