public DefaultAssetFileStore(IAssetStore assetStore, IOptions <AssetOptions> options) { this.assetStore = assetStore; this.options = options.Value; }
public AssetQueryService(ITagService tagService, IAssetRepository assetRepository, IOptions <AssetOptions> options) { Guard.NotNull(tagService, nameof(tagService)); Guard.NotNull(options, nameof(options)); Guard.NotNull(assetRepository, nameof(assetRepository)); this.assetRepository = assetRepository; this.options = options.Value; this.tagService = tagService; }