Exemple #1
0
 public Node(MetadataIdentity identity)
 {
     this.Identity = identity ?? throw new ArgumentNullException(nameof(identity));
     this.Metadata = identity.Require <IBindingMetadata>();
     this.Depth    = identity.Schema.Notation.Depth(identity.Name);
 }