Exemplo n.º 1
0
 public ProductionInstaller(Folders.ProductionInstallerFolder location,
                            Guid installerId,
                            VersionNumber version,
                            IProductionEnvironment owner,
                            IServiceLocator serviceLocator)
     : base(location, installerId, version, serviceLocator)
 {
     this.Owner = owner;
 }
Exemplo n.º 2
0
        public ProductionInstallersExplorerBarItem(IProductionEnvironment environment, IExplorerBarItem parent, IServiceLocator serviceLocator)
            : base(parent, serviceLocator)
        {
            _environment = environment;

            if (!UseLazyLoading)
            {
                foreach (var item in GetLazyLoadedItems())
                {
                    this.Items.Add(item);
                }
            }
        }
Exemplo n.º 3
0
 public bool IsOwnedBy(IProductionEnvironment productionEnvironment)
 {
     return(this.Owner.Equals(productionEnvironment));
 }
Exemplo n.º 4
0
 public ProductionEnvironmentWorkspaceItem(IProductionEnvironment environment, IServiceLocator serviceLocator)
     : base(serviceLocator)
 {
     _environment = environment;
 }
Exemplo n.º 5
0
 public IExplorerBarItem CreateProductionInstallersItem(IProductionEnvironment environment)
 {
     return(new ProductionInstallersExplorerBarItem(environment, _parent, _serviceLocator));
 }
Exemplo n.º 6
0
 public NewProductionInstallerEventData(IProductionInstaller installer, IProductionEnvironment environment)
 {
     this.Installer   = installer;
     this.Environment = environment;
 }
Exemplo n.º 7
0
 public ProductionEnvironmentExplorerBarItem(IProductionEnvironment environment, IExplorerBarItem parent, IServiceLocator serviceLocator)
     : base(parent, serviceLocator)
 {
     _environment = environment;
     this.Items.Add(ItemsFactory.CreateProductionInstallersItem(environment));
 }