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