예제 #1
0
 public MetaExtractor()
 {
     FoundEmails      = new Emails();
     FoundDates       = new Dates();
     FoundPrinters    = new Printers();
     FoundPaths       = new Paths();
     FoundOldVersions = new OldVersions();
     FoundHistory     = new History();
     FoundMetaData    = new MetaData();
     FoundUsers       = new Users();
     FoundServers     = new Servers();
     FoundPasswords   = new Passwords();
 }
예제 #2
0
        /// <summary>
        /// Creates a link to the current version of this product's properties.
        /// </summary>
        public void SetCurrentVersion(ProductProperties properties)
        {
            if (CurrentVersion == properties)
            {
                return;
            }

            if (CurrentVersion != null)
            {
                OldVersions.Add(CurrentVersion);
            }

            CurrentVersion = properties;
        }