Пример #1
0
 public HalDocument(Links links)
 {
     Links = Enforce.ArgumentNotNull(links, nameof(links));
 }
Пример #2
0
 protected HalResource(Links links, object embedded = null)
     : base(links)
 {
 }
Пример #3
0
 public HalForm(Links links, Template template)
     : base(links)
 {
     // If I understand the spec correctly _templates is a collection, but only one template is allowed/necessary...
      Template = Enforce.ArgumentNotNull(template, nameof(template));
 }