public AssetMiddleware(RequestDelegate next, IOptions<AssetOptions> options, IAssetRegistry registry, IApplicationEnvironment env) { _next = next; _options = options.Options; _assetPath = new PathString(options.Options.ServePath); _registry = registry; _baseDirectory = env.ApplicationBasePath; }
public AssetRegistry(IOptions<AssetOptions> options) { _options = options.Options; }