Exemple #1
0
        public CoreOptions(CoreOptions options)
        {
            searchOptions   = options.searchOptions.Clone();
            compareOptions  = options.compareOptions.Clone();
            defectOptions   = options.defectOptions.Clone();
            advancedOptions = options.advancedOptions.Clone();

            searchPath = PathClone(options.searchPath);
            ignorePath = PathClone(options.ignorePath);
            validPath  = PathClone(options.validPath);
            deletePath = PathClone(options.deletePath);
        }
Exemple #2
0
        public CoreOptions()
        {
            searchOptions   = new CoreSearchOptions();
            compareOptions  = new CoreCompareOptions();
            defectOptions   = new CoreDefectOptions();
            advancedOptions = new CoreAdvancedOptions();

            searchPath = new CorePathWithSubFolder[1];
            ignorePath = new CorePathWithSubFolder[0];
            validPath  = new CorePathWithSubFolder[0];
            deletePath = new CorePathWithSubFolder[0];
        }
Exemple #3
0
 public CoreSearchOptions(CoreSearchOptions searchOptions)
 {
     system = searchOptions.system;
     hidden = searchOptions.hidden;
     JPEG   = searchOptions.JPEG;
     BMP    = searchOptions.BMP;
     GIF    = searchOptions.GIF;
     PNG    = searchOptions.PNG;
     TIFF   = searchOptions.TIFF;
     EMF    = searchOptions.EMF;
     WMF    = searchOptions.WMF;
     EXIF   = searchOptions.EXIF;
     ICON   = searchOptions.ICON;
     JP2    = searchOptions.JP2;
     PSD    = searchOptions.PSD;
     DDS    = searchOptions.DDS;
     TGA    = searchOptions.TGA;
 }
Exemple #4
0
 public void Get(CoreLib core, bool onePath)
 {
     searchOptions   = core.searchOptions.Clone();
     compareOptions  = core.compareOptions.Clone();
     defectOptions   = core.defectOptions.Clone();
     advancedOptions = core.advancedOptions.Clone();
     if (onePath)
     {
         searchPath[0] = core.searchPath[0];
     }
     else
     {
         searchPath = core.searchPath;
         ignorePath = core.ignorePath;
         validPath  = core.validPath;
         deletePath = core.deletePath;
     }
 }
Exemple #5
0
 public bool Equals(CoreSearchOptions searchOptions)
 {
     return
         (system == searchOptions.system &&
          hidden == searchOptions.hidden &&
          JPEG == searchOptions.JPEG &&
          BMP == searchOptions.BMP &&
          GIF == searchOptions.GIF &&
          PNG == searchOptions.PNG &&
          TIFF == searchOptions.TIFF &&
          EMF == searchOptions.EMF &&
          WMF == searchOptions.WMF &&
          EXIF == searchOptions.EXIF &&
          ICON == searchOptions.ICON &&
          JP2 == searchOptions.JP2 &&
          PSD == searchOptions.PSD &&
          DDS == searchOptions.DDS &&
          TGA == searchOptions.TGA);
 }