public RebuildRunner(Rebuilder rebuilder, IOptions <RebuildOptions> rebuildOptions) { Guard.NotNull(rebuilder, nameof(rebuilder)); Guard.NotNull(rebuildOptions, nameof(rebuildOptions)); this.rebuilder = rebuilder; this.rebuildOptions = rebuildOptions.Value; }
public RebuildRunner(Rebuilder rebuilder, IOptions <RebuildOptions> rebuildOptions, PopulateGrainIndexes populateGrainIndexes) { Guard.NotNull(rebuilder); Guard.NotNull(rebuildOptions); Guard.NotNull(populateGrainIndexes); this.rebuilder = rebuilder; this.rebuildOptions = rebuildOptions.Value; this.populateGrainIndexes = populateGrainIndexes; }