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

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