Exemple #1
0
 public static Event Create(string name, EventReturnMethod returnMethod, PythonTuple parameters)
 {
     return(new Event(name,
                      returnMethod,
                      parameters.Cast <PythonTuple>()
                      .Select(p => new EventArg(( string )p[0], p[1]))));
 }