示例#1
0
 public RestoreBackupServer(ICsConfigurationProvider cfgProvider, IBackupManager backupManager,
                            IMediator mediator)
 {
     this.backupManager = backupManager;
     this.cfgProvider   = cfgProvider;
     this.mediator      = mediator;
 }
        public RestoreBackupServerTests()
        {
            cfgProvider   = A.Fake <ICsConfigurationProvider>();
            backupServers = A.Fake <IBackupServerManager>();
            mediator      = A.Fake <IMediator>();

            handler = new RestoreBackupServer(cfgProvider, backupServers, mediator);
        }
示例#3
0
 public Loader(IConfigurationProvider configProvider, ICsConfigurationProvider csConfigProvider)
 {
     this.configProvider   = configProvider;
     this.csConfigProvider = csConfigProvider;
 }