public BundleWatcher(Bundle bundle, IFileSystem fileSystem, IEnumerable <IAssetTransformer> transformers) { bundle.ThrowIfNull("bundle"); fileSystem.ThrowIfNull("fileSystem"); transformers.ThrowIfNull("transformers"); _bundle = bundle; _transformers = transformers.ToArray(); _fileSystem = fileSystem; _watchTimer.Elapsed += WatchTimerElapsed; RefreshContents(); WatchForChanges(); }
public BundleRoute(Bundle bundle, string routeName, string relativePath, IAssetConcatenator concatenator, IEnumerable<IAssetTransformer> transformers) { bundle.ThrowIfNull("bundle"); routeName.ThrowIfNull("routeName"); relativePath.ThrowIfNull("relativePath"); concatenator.ThrowIfNull("concatenator"); transformers.ThrowIfNull("transformers"); _bundle = bundle; _routeName = routeName; _relativePath = relativePath; _concatenator = concatenator; _transformers = transformers; }
public BundleWatcher(Bundle bundle, IFileSystem fileSystem, IComparer<AssetFile> assetOrder, IEnumerable<IAssetTransformer> transformers) { bundle.ThrowIfNull("bundle"); fileSystem.ThrowIfNull("fileSystem"); assetOrder.ThrowIfNull("assetOrder"); transformers.ThrowIfNull("transformers"); _bundle = bundle; _assetOrder = assetOrder; _transformers = transformers.ToArray(); _fileSystem = fileSystem; _watchTimer.Elapsed += WatchTimerElapsed; RefreshContents(); WatchForChanges(); }
public BundleWatcher(Bundle bundle, IFileSystem fileSystem, IAssetConcatenator concatenator, IEnumerable<IAssetTransformer> transformers) { bundle.ThrowIfNull("bundle"); fileSystem.ThrowIfNull("fileSystem"); concatenator.ThrowIfNull("concatenator"); transformers.ThrowIfNull("transformers"); _bundle = bundle; _concatenator = concatenator; _transformers = transformers.ToArray(); _fileSystem = fileSystem; _watchTimer.Elapsed += WatchTimerElapsed; RefreshContents(); WatchForChanges(); }
public BundleWatcher(Bundle bundle, IFileSystem fileSystem, IComparer <AssetFile> assetOrder, IAssetConcatenator concatenator, IEnumerable <IAssetTransformer> transformers) { bundle.ThrowIfNull("bundle"); fileSystem.ThrowIfNull("fileSystem"); assetOrder.ThrowIfNull("assetOrder"); concatenator.ThrowIfNull("concatenator"); transformers.ThrowIfNull("transformers"); _bundle = bundle; _assetOrder = assetOrder; _concatenator = concatenator; _transformers = transformers.ToArray(); _fileSystem = fileSystem; _watchTimer.Elapsed += WatchTimerElapsed; RefreshContents(); WatchForChanges(); }