public static InterfaceMethodGenerator Method(string name, Type returnType)
        {
            var method = new InterfaceMethodGenerator();

            method.name       = name;
            method.returnType = returnType;
            return(method);
        }
Beispiel #2
0
 public InterfaceGenerator AddMethod(InterfaceMethodGenerator generator)
 {
     methods.Add(generator);
     return(this);
 }