public BackupGrain( IBackupArchiveLocation backupArchiveLocation, IBackupArchiveStore backupArchiveStore, IClock clock, IEventDataFormatter eventDataFormatter, IEventStore eventStore, IGrainState <BackupState> state, IServiceProvider serviceProvider, IUserResolver userResolver, ISemanticLog log) { Guard.NotNull(backupArchiveLocation, nameof(backupArchiveLocation)); Guard.NotNull(backupArchiveStore, nameof(backupArchiveStore)); Guard.NotNull(clock, nameof(clock)); Guard.NotNull(eventDataFormatter, nameof(eventDataFormatter)); Guard.NotNull(eventStore, nameof(eventStore)); Guard.NotNull(serviceProvider, nameof(serviceProvider)); Guard.NotNull(state, nameof(state)); Guard.NotNull(userResolver, nameof(userResolver)); Guard.NotNull(log, nameof(log)); this.backupArchiveLocation = backupArchiveLocation; this.backupArchiveStore = backupArchiveStore; this.clock = clock; this.eventDataFormatter = eventDataFormatter; this.eventStore = eventStore; this.serviceProvider = serviceProvider; this.state = state; this.userResolver = userResolver; this.log = log; }
public BackupContentController(ICommandBus commandBus, IBackupArchiveStore backupArchiveStore, IBackupService backupservice) : base(commandBus) { this.backupArchiveStore = backupArchiveStore; this.backupservice = backupservice; }
public BackupGrain( IBackupArchiveLocation backupArchiveLocation, IBackupArchiveStore backupArchiveStore, IClock clock, IEventDataFormatter eventDataFormatter, IEventStore eventStore, IGrainState <BackupState> state, IServiceProvider serviceProvider, IUserResolver userResolver, ILogger <BackupGrain> log) { this.backupArchiveLocation = backupArchiveLocation; this.backupArchiveStore = backupArchiveStore; this.clock = clock; this.eventDataFormatter = eventDataFormatter; this.eventStore = eventStore; this.serviceProvider = serviceProvider; this.state = state; this.userResolver = userResolver; this.log = log; }