Example #1
0
 /// <summary>
 /// Constructor for the <c>ElementListLabel</c> object. This
 /// creates a label object, which can be used to convert an XML
 /// node to a <c>Collection</c> of XML serializable objects.
 /// </summary>
 /// <param name="contact">
 /// this is the contact that this label represents
 /// </param>
 /// <param name="label">
 /// the annotation that contains the schema details
 /// </param>
 public ElementListLabel(Contact contact, ElementList label)
 {
     this.detail    = new Signature(contact, this);
     this.decorator = new Qualifier(contact);
     this.type      = contact.Type;
     this.entry     = label.entry();
     this.item      = label.type();
     this.name      = label.name();
     this.label     = label;
 }