Exemplo n.º 1
0
 public DocumentedProperty AddProperty(string name)
 {
     if (members.ContainsKey(name))
     {
         return(null);
     }
     else
     {
         DocumentedProperty result = new DocumentedProperty(name, this);
         members [name] = result;
         return(result);
     }
 }
Exemplo n.º 2
0
 public DocumentedProperty AddReferenceProperty(string name)
 {
     if (currentClass == null)
     {
         return(null);
     }
     else
     {
         DocumentedProperty result = currentClass.AddReferenceProperty(name);
         currentMember = result;
         return(result);
     }
 }
Exemplo n.º 3
0
 public DocumentedProperty AddProperty(string name)
 {
     if (members.ContainsKey (name)) {
         return null;
     } else {
         DocumentedProperty result = new DocumentedProperty (name, this);
         members [name] = result;
         return result;
     }
 }