public BundleCollection(CassetteSettings settings, IFileSearchProvider fileSearchProvider, IBundleFactoryProvider bundleFactoryProvider, IBundleCollectionInitializer bundleCollectionInitializer) { this.settings = settings; this.fileSearchProvider = fileSearchProvider; this.bundleFactoryProvider = bundleFactoryProvider; this.bundleCollectionInitializer = bundleCollectionInitializer; }
public FileSystemWatchingBundleRebuilder(CassetteSettings settings, BundleCollection bundles, IBundleCollectionInitializer initializer, IEnumerable <IFileSearch> fileSearches) { this.settings = settings; this.bundles = bundles; this.initializer = initializer; this.fileSearches = fileSearches; bundleDescriptorFilenames = GetBundleDescriptorFilenames(); // Initially use the bundles collection, but this will get updated in the Changed event handler. readOnlyBundles = new ReadOnlyCollection <Bundle>(bundles.ToList()); bundles.Changed += HandleBundlesChanged; }
public FileSystemWatchingBundleRebuilder(CassetteSettings settings, BundleCollection bundles, IBundleCollectionInitializer initializer, IEnumerable<IFileSearch> fileSearches) { this.settings = settings; this.bundles = bundles; this.initializer = initializer; this.fileSearches = fileSearches; bundleDescriptorFilenames = GetBundleDescriptorFilenames(); // Initially use the bundles collection, but this will get updated in the Changed event handler. readOnlyBundles = new ReadOnlyCollection<Bundle>(bundles.ToList()); bundles.Changed += HandleBundlesChanged; }
public BundleCacheRebuilder(BundleCollection bundles, IBundleCollectionCache cache, IBundleCollectionInitializer bundleCollectionInitializer) { this.bundles = bundles; this.cache = cache; this.bundleCollectionInitializer = bundleCollectionInitializer; }
public ExceptionCatchingBundleCollectionInitializer(IBundleCollectionInitializer initializerImplementation) { this.initializerImplementation = initializerImplementation; }