Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            EnableEmbeddedAssemblyLoading();

            var settings = new Settings();

            if (!CommandLine.Parser.Default.ParseArguments(args, settings) || string.IsNullOrEmpty(settings.InputTarget))
            {
                Console.WriteLine(settings.GetUsage());
                return;
            }

            var coverController = new CoverController(settings);
            coverController.RunInstrumentation();
        }
Ejemplo n.º 2
0
 public CoverController(Settings settings, FileListBuilder fileListBuilder, IDisk diskIo)
 {
     this.settings = settings;
     this.fileListBuilder = fileListBuilder;
     this.diskIo = diskIo;
 }
Ejemplo n.º 3
0
 public CoverController(Settings settings)
     : this(settings, new FileListBuilder(), new DiskWrapper())
 {
 }