Exemple #1
0
 public static IronPythonEngine.Types.Set Intersect(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Intersect(s1, s2);
 }
Exemple #2
0
 public static IronPythonEngine.Types.Set Except(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Except(s1, s2);
 }
Exemple #3
0
 public static IronPythonEngine.Types.Set SortD(IronPythonEngine.Types.Set set)
 {
     var q = from i in set orderby i descending select i;
     return new IronPythonEngine.Types.Set(q.ToList());
 }
Exemple #4
0
 public static IronPythonEngine.Types.Set Union(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Union(s1, s2);
 }
Exemple #5
0
 public static IronPythonEngine.Types.Set Distinct(IronPythonEngine.Types.Set s1)
 {
     return IronPythonEngine.Types.Set.Distinct(s1);
 }