Exemple #1
0
 private static void Vary(Profile profile)
 {
     foreach (var project in profile.Projects.Values)
     {
         foreach (var @interface in project.Interfaces.Values)
         {
             @interface.Functions.AddRange
                 (Overloader.GetEarlyVariants(@interface.Functions, profile.Projects["Core"]));
             @interface.Functions = Overloader.GetWithVariants
                                        (@interface.Functions, profile.Projects["Core"])
                                    .ToList();
         }
     }
 }
Exemple #2
0
 private static void Vary(Profile profile)
 {
     foreach (var project in profile.Projects.Values)
     {
         foreach (var @class in project.Classes)
         {
             foreach (var @interface in @class.NativeApis.Values)
             {
                 @interface.Functions = Overloader.GetWithVariants
                                            (@interface.Functions, profile.Projects["Core"])
                                        .ToList();
             }
         }
     }
 }