public FileService(SeaweedFsService seaweed, FileHostDbContext dbContext) { this.seaweed = seaweed; this.dbContext = dbContext; }
public SeaweedFsService(FileHostDbContext dbContext, IOptions <SeaweedFsOptions> options) { this.dbContext = dbContext; connection = new MasterConnection(options.Value.MasterHostName, options.Value.Port); }