Beispiel #1
0
 public Bundler(IFileSystem system, IDeploymentController controller, DeploymentSettings settings, IBottleRepository bottles)
 {
     _system = system;
     _controller = controller;
     _settings = settings;
     _bottles = bottles;
 }
 public DeploymentController(IProfileReader reader, IDiagnosticsReporter reporter, IDirectiveRunnerFactory factory, IBottleRepository bottles, IFileSystem system)
 {
     _reader = reader;
     _reporter = reporter;
     _factory = factory;
     _bottles = bottles;
     _system = system;
 }
Beispiel #3
0
 public BatchOrderService(IMapper mapper, IOrderRepository orderRepository,
                          IBottleRepository bottleRepository, IWineProvider wineProvider, IOptions <BatchOrderSettings> settings)
 {
     _orderRepository  = orderRepository;
     _bottleRepository = bottleRepository;
     _wineProvider     = wineProvider;
     _settings         = settings.Value;
     _mapper           = mapper;
 }
Beispiel #4
0
        public void DeployHelloWorld()
        {
            IBottleRepository bottles = null;
            IProcessRunner    process = null;

            var deployer = new TopshelfDeployer(bottles, process);

            var directive = new TopshelfService();

            deployer.Execute(directive, new HostManifest("a"), new PackageLog());
        }
Beispiel #5
0
 public IisFubuDeployer(IFileSystem fileSystem, IBottleRepository bottles)
 {
     _fileSystem = fileSystem;
     _bottles    = bottles;
 }
Beispiel #6
0
 public BottleMover(IBottleRepository repository)
 {
     _repository = repository;
 }
Beispiel #7
0
 public BottlesController(IBottleRepository repo)
 {
     this.repo = repo;
 }
 public BottleService()
     : base(RepositoryFactory.Create <IBottleRepository>())
 {
     //设置当前仓储为Bottle仓储
     currentRepository = base.currentRepository as IBottleRepository;
 }
Beispiel #9
0
 public ConfigurationDeployer(DeploymentSettings deploymentSettings, IFileSystem fileSystem, IBottleRepository repository)
 {
     _deploymentSettings = deploymentSettings;
     _fileSystem         = fileSystem;
     _repository         = repository;
 }
Beispiel #10
0
 public TopshelfDeployer(IBottleRepository bottles, IProcessRunner runner)
 {
     _bottles = bottles;
     _runner  = runner;
 }
 public RoundhouseDeployer(IBottleRepository bottleRepository)
 {
     _bottleRepository = bottleRepository;
 }
Beispiel #12
0
 public GetTransactionPriceOperation(IBottleRepository bottleRepo)
 {
     this.bottleRepo = bottleRepo;
 }