StartupBackupItem.cs 689 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace Optimizer
  3. {
  4. /// <summary>
  5. /// Represents a backup of a Windows base startup item
  6. /// </summary>
  7. [Serializable]
  8. public sealed class BackupStartupItem
  9. {
  10. public string Name { get; set; }
  11. public string FileLocation { get; set; }
  12. public string RegistryLocation { get; set; }
  13. public string StartupType { get; set; }
  14. public BackupStartupItem(string name, string fileLocation, string registryLocation, string startupType)
  15. {
  16. Name = name;
  17. FileLocation = fileLocation;
  18. RegistryLocation = registryLocation;
  19. StartupType = startupType;
  20. }
  21. }
  22. }