Execute() публичный Метод

public Execute ( ) : void
Результат void
Пример #1
0
 public void Execute(ModuleDefinition moduleDefinition)
 {
     foreach (var type in moduleDefinition.GetAllTypeDefinitions())
     {
         if (!type.IsClass)
         {
             continue;
         }
         typeProcessor.Execute(type);
     }
 }
Пример #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();
        }
    }
Пример #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();
        }
    }