run() public méthode

This will be called in a different thread, It will start the features run and the statusUpdater
public run ( ) : void
Résultat void
 public void TestAllFeatures()
 {
     string path = @"C:\Users\Daniel\Desktop\BitExact Pictures\";
     string[] pathes = Directory.GetFiles(path, "*.jpg", SearchOption.AllDirectories);
     bool[] feat = new bool[4];
     feat[(int)Feature.BAD_CONTRAST] = true;
     feat[(int)Feature.BIT_EXACT] = true;
     Task task = new Task(pathes.ToList(), feat);
     FeaturesLayer core = new FeaturesLayer(ref task);
     core.loadImages();
     while (core.LoadingImagesStatus < 100)
     {
         Thread.Sleep(300);
         Debug.WriteLine("li: {0}", core.LoadingImagesStatus);
     }
     core.run();
     while (core.RunStatus < 100)
     {
         Thread.Sleep(300);
         Debug.WriteLine("run: {0}", core.RunStatus);
     }
 }