Ejemplo n.º 1
0
 /// <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))
 {
 }
Ejemplo n.º 2
0
 private static string ApplyErrors(Node node, string text)
 {
     return(PayloadSyntaxError.ApplyErrorsToNodeText(node, text));
 }
Ejemplo n.º 3
0
 /// <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))
 {
 }