Run() public méthode

public Run ( Assembly assembly, IEnumerable contexts ) : void
assembly System.Reflection.Assembly
contexts IEnumerable
Résultat void
Exemple #1
0
        void StartRun(IDictionary <Assembly, IEnumerable <Context> > contextMap)
        {
            _runStart();

            foreach (var pair in contextMap)
            {
                var assembly = pair.Key;
                // TODO: move this filtering to a more sensible place
                var contexts = pair.Value.FilteredBy(_options);

                _assemblyRunner.Run(assembly, contexts);
            }

            _runEnd();
        }
        private void StartRun(IDictionary <Assembly, IEnumerable <Context> > contextMap)
        {
            if (!explicitStartAndEnd)
            {
                runStart.Invoke();
            }

            foreach (var(assembly, contexts) in contextMap)
            {
                assemblyRunner.Run(assembly, contexts);
            }

            if (!explicitStartAndEnd)
            {
                runEnd.Invoke();
            }
        }
Exemple #3
0
        void StartAssemblyRun(Assembly assembly, IEnumerable <Context> contexts)
        {
            var runner = new AssemblyRunner(_listener, _options);

            runner.Run(assembly, contexts.FilteredBy(_options));
        }
 void StartAssemblyRun(Assembly assembly, IEnumerable<Context> contexts)
 {
   var runner = new AssemblyRunner(_listener, _options);
   runner.Run(assembly, contexts.FilteredBy(_options));
 }
Exemple #5
0
 void StartAssemblyRun(Assembly assembly, IEnumerable <Context> contexts)
 {
     _assemblyRunner.Run(assembly, contexts.FilteredBy(_options));
 }