Execute() public méthode

public Execute ( ) : void
Résultat void
 public void Execute(ModuleDefinition moduleDefinition)
 {
     foreach (var type in moduleDefinition.GetAllTypeDefinitions())
     {
         if (!type.IsClass)
         {
             continue;
         }
         typeProcessor.Execute(type);
     }
 }
Exemple #2
0
    public void Execute(List <TypeDefinition> classes)
    {
        foreach (var type in classes)
        {
            var baseType = implementsInterfaceFinder.HierarchyImplementsIFreezable(type);
            if (baseType == null)
            {
                continue;
            }
            var checkMethod = freezeCheckerInjector.Execute(baseType);

            var typeProcessor = new TypeProcessor(logInfo, checkMethod, type);
            typeProcessor.Execute();
        }
    }
Exemple #3
0
    public void Execute(List<TypeDefinition> classes)
    {
        foreach (var type in classes)
        {
            var baseType = implementsInterfaceFinder.HierarchyImplementsIFreezable(type);
            if (baseType == null)
            {
                continue;
            }
            var checkMethod = freezeCheckerInjector.Execute(baseType);

            var typeProcessor = new TypeProcessor(logInfo, checkMethod, type);
            typeProcessor.Execute();
        }
    }