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