示例#1
0
    protected override void Run()
    {
        base.Run();

        var dependencyContainer = new DependencyContainer(new DependenciesRegistrar());

        var enviromentEvents    = new MacEnvironmentService();
        var guiPresenter        = new GuiService(dependencyContainer);
        var settingsPersistense = new SettingsService();

        MacExtensionInitializer.Init(enviromentEvents, guiPresenter, settingsPersistense);
    }
 public MacEnvironmentCommand(HotReloadCommands commandType)
 {
     MacExtensionInitializer.RegisterCommand(commandType, this);
 }