/// <summary> /// Validate the default bundler configuration. /// </summary> /// <param name="bundler">The bundler. /// </param> public static void validateDefaultBundler(AbstractBundler bundler) { Assert.AreEqual(10, bundler.SizeThreshold); // preferred-size Assert.AreEqual(1, bundler.DelayMillis); Assert.AreEqual(4, bundler.ThreadThreshold); Assert.IsFalse(bundler.AllowAutoAdjust); }
/// <summary> /// Constructor. /// </summary> /// <param name="bundler"> /// The bundler the operations are performed on. /// </param> public Bundle(AbstractBundler bundler) : base(bundler) { }
/// <summary> /// Default constructor. /// </summary> /// <param name="bundler"> /// The Bundler the bundle operates on. /// </param> protected Bundle(AbstractBundler bundler) { m_status = STATUS_OPEN; Bundler = bundler; }