/// <summary> /// Equalses the specified other. /// </summary> /// <param name="other">The other.</param> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns> protected bool Equals(JsTemplateElementValue other) { return(Raw.Equals(other.Raw) && Cooked.Equals(other.Cooked)); }
/// <summary> /// Initializes a new instance of the <see cref="JsTemplateElement"/> class. /// </summary> /// <param name="value">The value.</param> /// <param name="tail">if set to <c>true</c> [tail].</param> public JsTemplateElement(JsTemplateElementValue value, bool tail) { Value = value; Tail = tail; }