Ejemplo n.º 1
0
        public DefaultAssetFileStore(IAssetStore assetStore,
                                     IOptions <AssetOptions> options)
        {
            this.assetStore = assetStore;

            this.options = options.Value;
        }
Ejemplo n.º 2
0
        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;
        }