Beispiel #1
0
 public DocumentedField AddField(string name)
 {
     if (members.ContainsKey(name))
     {
         return(null);
     }
     else
     {
         DocumentedField result = new DocumentedField(name, this);
         members [name] = result;
         return(result);
     }
 }
Beispiel #2
0
 public DocumentedField AddField(string name)
 {
     if (currentClass == null)
     {
         return(null);
     }
     else
     {
         DocumentedField result = currentClass.AddField(name);
         currentMember = result;
         return(result);
     }
 }
Beispiel #3
0
 public DocumentedField AddField(string name)
 {
     if (members.ContainsKey (name)) {
         return null;
     } else {
         DocumentedField result = new DocumentedField (name, this);
         members [name] = result;
         return result;
     }
 }