コード例 #1
0
 public ProductionInstaller(Folders.ProductionInstallerFolder location,
                            Guid installerId,
                            VersionNumber version,
                            IProductionEnvironment owner,
                            IServiceLocator serviceLocator)
     : base(location, installerId, version, serviceLocator)
 {
     this.Owner = owner;
 }
コード例 #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);
                }
            }
        }
コード例 #3
0
 public bool IsOwnedBy(IProductionEnvironment productionEnvironment)
 {
     return(this.Owner.Equals(productionEnvironment));
 }
コード例 #4
0
 public ProductionEnvironmentWorkspaceItem(IProductionEnvironment environment, IServiceLocator serviceLocator)
     : base(serviceLocator)
 {
     _environment = environment;
 }
コード例 #5
0
 public IExplorerBarItem CreateProductionInstallersItem(IProductionEnvironment environment)
 {
     return(new ProductionInstallersExplorerBarItem(environment, _parent, _serviceLocator));
 }
コード例 #6
0
 public NewProductionInstallerEventData(IProductionInstaller installer, IProductionEnvironment environment)
 {
     this.Installer   = installer;
     this.Environment = environment;
 }
コード例 #7
0
 public ProductionEnvironmentExplorerBarItem(IProductionEnvironment environment, IExplorerBarItem parent, IServiceLocator serviceLocator)
     : base(parent, serviceLocator)
 {
     _environment = environment;
     this.Items.Add(ItemsFactory.CreateProductionInstallersItem(environment));
 }