/// <summary> /// Initializes a new <see cref="PayloadSyntaxErrorFacet"/> /// instance with the sepcified <paramref name="error"/>. /// </summary> /// <param name="error"><see cref="PayloadSyntaxError"/> for annotated node.</param> public PayloadSyntaxErrorFacet(PayloadSyntaxError error) : base("PayloadSyntaxErrorFacet", new NodeValue(error, null)) { }
private static string ApplyErrors(Node node, string text) { return(PayloadSyntaxError.ApplyErrorsToNodeText(node, text)); }
/// <summary> /// Initializes a new <see cref="PayloadSyntaxErrorFacet"/> /// instance with the sepcified <paramref name="error"/>. /// </summary> /// <param name="error"><see cref="PayloadSyntaxError"/> for annotated node.</param> public PayloadSyntaxErrorFacet(PayloadSyntaxError error) : base("PayloadSyntaxErrorFacet", new NodeValue(error, null)) { }