public DefaultAppImageStore(IAssetStore assetStore, IOptions <AssetOptions> options) { this.assetStore = assetStore; this.options = options.Value; }
public AssetQueryParser(IJsonSerializer jsonSerializer, ITagService tagService, IOptions <AssetOptions> options) { this.jsonSerializer = jsonSerializer; this.tagService = tagService; this.options = options.Value; edmModel = queryModel.ConvertToEdm("Squidex", "Asset"); }
public AssetQueryParser(IJsonSerializer jsonSerializer, ITagService tagService, IOptions <AssetOptions> options) { this.jsonSerializer = jsonSerializer; this.tagService = tagService; this.options = options.Value; }
public AssetQueryParser(IJsonSerializer jsonSerializer, ITagService tagService, IOptions <AssetOptions> options) { Guard.NotNull(jsonSerializer); Guard.NotNull(options); Guard.NotNull(tagService); this.jsonSerializer = jsonSerializer; this.options = options.Value; this.tagService = tagService; }
public AssetQueryService( IAssetEnricher assetEnricher, IAssetRepository assetRepository, IAssetLoader assetLoader, IAssetFolderRepository assetFolderRepository, IOptions <AssetOptions> options, AssetQueryParser queryParser) { this.assetEnricher = assetEnricher; this.assetRepository = assetRepository; this.assetLoader = assetLoader; this.assetFolderRepository = assetFolderRepository; this.options = options.Value; this.queryParser = queryParser; }
public AssetList GetAssets(AssetOptions options) { var query = Utils.BuildQueryString(new List <KeyValuePair <string, object> > { new KeyValuePair <string, object>(nameof(options.PerPage).ToCamelCase(), options.PerPage), new KeyValuePair <string, object>(nameof(options.CreatedBy).ToCamelCase(), options.CreatedBy), new KeyValuePair <string, object>(nameof(options.Identifier).ToCamelCase(), options.Identifier), new KeyValuePair <string, object>(nameof(options.FromTimestamp).ToCamelCase(), options.FromTimestamp), new KeyValuePair <string, object>(nameof(options.ToTimestamp).ToCamelCase(), options.ToTimestamp), new KeyValuePair <string, object>(nameof(options.Page).ToCamelCase(), options.Page) }); var assets = _request.GetRequest <AssetList>($"assets{query}"); return(assets); }
public AssetsController( ICommandBus commandBus, IAssetQueryService assetQuery, IAssetUsageTracker assetStatsRepository, IAppPlansProvider appPlansProvider, IOptions <AssetOptions> assetOptions, IOptions <MyContentsControllerOptions> controllerOptions, ITagService tagService) : base(commandBus) { this.assetOptions = assetOptions.Value; this.assetQuery = assetQuery; this.assetStatsRepository = assetStatsRepository; this.appPlansProvider = appPlansProvider; this.controllerOptions = controllerOptions.Value; this.tagService = tagService; }
public AssetList GetAssets(AssetOptions options) { return(this._assets.GetAssets(options)); }
public ScssProcessor(IOptions<AssetOptions> options) { _options = options.Options; }
public SimpleJavascriptProcessor(IOptions<AssetOptions> options) { _options = options.Options; }