public static InterfaceMethodGenerator Method(string name, Type returnType) { var method = new InterfaceMethodGenerator(); method.name = name; method.returnType = returnType; return(method); }
public InterfaceGenerator AddMethod(InterfaceMethodGenerator generator) { methods.Add(generator); return(this); }