Beispiel #1
0
        public ProductionBranchExplorerBarItem(IProductionBranch productionBranch, IExplorerBarItem parent, IServiceLocator serviceLocator)
            : base(parent, serviceLocator)
        {
            _productionBranch = productionBranch;

            foreach (var env in _productionBranch.GetEnvironments())
            {
                this.Items.Add(ItemsFactory.CreateProductionEnvironment(env));
            }
        }
Beispiel #2
0
 public IExplorerBarItem CreateProductionBranchItem(IProductionBranch productionBranch)
 {
     return(new ProductionBranchExplorerBarItem(productionBranch, _parent, _serviceLocator));
 }