/// <summary> /// Initialies a new instance of this class. /// </summary> /// <param name="task">The task which is hosting this bundler.</param> /// <param name="options">The options for the bundler.</param> public MSBuildBundler(Task task, BundlerOptions options = null) : base(options) { if (task == null) { throw new System.ArgumentNullException("task"); } Task = task; }
/// <summary> /// Initializes a new instance of this class. /// </summary> /// <param name="options">Optional. The options for the bundler.</param> public Bundler(BundlerOptions options = null) { Options = options ?? new BundlerOptions(); }