public void Create(CreateRedisWorkerServer command) { var prefix = command.Prefix ?? new RedisStorageProvider().DefaultSchemaName(); _redisConfigurationVerifier.VerifyConfiguration(command.Configuration, prefix); _storage.WriteConfiguration(new StoredConfiguration { SchemaName = prefix, ConnectionString = command.Configuration, Name = command.Name, Active = false }); }
public void CreateServerConfiguration(CreateRedisWorkerServer command) => _redisCreator.Create(command);
public void Create(CreateRedisWorkerServer command) { throw new NotImplementedException(); }