Example #1
0
 /// <summary>Create new <see cref="BlankNode"/></summary>
 public BlankNode(UriOrBlankMap b, UriOrBlank data)
     : base(b, data, ValueStringFromLabel(data.Label ?? throw new Exception("Must be blank with label")))
Example #2
0
 /// <summary>Create  a new <see cref="UriNode"/></summary>
 /// <exception cref="InvalidUri"></exception>
 public UriNode(UriOrBlankMap b, UriOrBlank data)
     : base(b, data, data.Uri ?? throw new Exception("Data must be for a uri"))
 {
 }