/// <summary> /// Initializes a new instance of the <see cref="WebAssetRegistry"/> class. /// </summary> /// <param name="isInDebugMode">if set to <c>true</c> [is in debug mode].</param> /// <param name="cacheManager">The cache manager.</param> /// <param name="assetLocator">The asset locator.</param> /// <param name="urlResolver">The URL resolver.</param> /// <param name="pathResolver">The path resolver.</param> /// <param name="virtualPathProvider">The virtual path provider.</param> public WebAssetRegistry(bool isInDebugMode, ICacheManager cacheManager, IWebAssetLocator assetLocator, IUrlResolver urlResolver, IPathResolver pathResolver, IVirtualPathProvider virtualPathProvider) { this.isInDebugMode = isInDebugMode; this.cacheManager = cacheManager; this.assetLocator = assetLocator; this.urlResolver = urlResolver; this.pathResolver = pathResolver; this.virtualPathProvider = virtualPathProvider; }
/// <summary> /// Initializes a new instance of the <see cref="WebAssetRegistry"/> class. /// </summary> /// <param name="cacheManager">The cache manager.</param> /// <param name="assetLocator">The asset locator.</param> /// <param name="pathResolver">The path resolver.</param> /// <param name="fileSystem">The file system.</param> public WebAssetRegistry(ICacheManager cacheManager, IWebAssetLocator assetLocator, IPathResolver pathResolver, IFileSystem fileSystem) { Guard.IsNotNull(cacheManager, "cacheManager"); Guard.IsNotNull(assetLocator, "assetLocator"); Guard.IsNotNull(pathResolver, "pathResolver"); Guard.IsNotNull(fileSystem, "fileSystem"); this.cacheManager = cacheManager; this.assetLocator = assetLocator; this.pathResolver = pathResolver; this.fileSystem = fileSystem; }
/// <summary> /// Initializes a new instance of the <see cref="WebAssetRegistry"/> class. /// </summary> /// <param name="isInDebugMode">if set to <c>true</c> [is in debug mode].</param> /// <param name="cacheManager">The cache manager.</param> /// <param name="assetLocator">The asset locator.</param> /// <param name="urlResolver">The URL resolver.</param> /// <param name="pathResolver">The path resolver.</param> /// <param name="virtualPathProvider">The virtual path provider.</param> public WebAssetRegistry(bool isInDebugMode, ICacheManager cacheManager, IWebAssetLocator assetLocator, IUrlResolver urlResolver, IPathResolver pathResolver, IVirtualPathProvider virtualPathProvider) { Guard.IsNotNull(cacheManager, "cacheManager"); Guard.IsNotNull(assetLocator, "assetLocator"); Guard.IsNotNull(urlResolver, "urlResolver"); Guard.IsNotNull(pathResolver, "pathResolver"); Guard.IsNotNull(virtualPathProvider, "virtualPathProvider"); this.isInDebugMode = isInDebugMode; this.cacheManager = cacheManager; this.assetLocator = assetLocator; this.urlResolver = urlResolver; this.pathResolver = pathResolver; this.virtualPathProvider = virtualPathProvider; }
public LocalWebAssetResolver(WebAsset asset, IWebAssetLocator locator) { this.asset = asset; this.locator = locator; }
public WebAssetGroupReader(IWebAssetLocator locator, IVirtualPathProvider provider, IWebAssetContentFilter filter) { this.locator = locator; this.provider = provider; this.filter = filter; }
public WebAssetResolverFactory(IWebAssetChecker checker, IWebAssetLocator locator, IWebAssetGroupSerializer serializer) { this.checker = checker; this.locator = locator; this.serializer = serializer; }