/// <summary>
 /// Constructor for the <c>MethodContact</c> object. This is
 /// used to compose a point of contact that makes use of a get and
 /// set method on a class. The specified methods will be invoked
 /// during the serialization process to get and set values.
 /// </summary>
 /// <param name="get">
 /// this forms the get method for the object
 /// </param>
 /// <param name="set">
 /// this forms the get method for the object
 /// </param>
 public MethodContact(MethodPart get, MethodPart set) {
    this.label = get.Annotation;
    this.items = get.Dependents;
    this.item = get.Dependent;
    this.get = get.Method;
    this.type = get.Type;
    this.name = get.Name;
    this.set = set;
 }
 /// <summary>
 /// Constructor for the <c>MethodContact</c> object. This is
 /// used to compose a point of contact that makes use of a get and
 /// set method on a class. The specified methods will be invoked
 /// during the serialization process to get and set values.
 /// </summary>
 /// <param name="get">
 /// this forms the get method for the object
 /// </param>
 public MethodContact(MethodPart get) {
    this(get, null);
 }