The Labs \ Source Viewer \ SSCLI \ System.Configuration \ ConfigurationSaveMode

  1. //------------------------------------------------------------------------------
  2. // <copyright file="ConfigurationSaveMode.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. using ClassConfiguration = System.Configuration.Configuration;
  16. using System.Collections;
  17. using System.Configuration;
  18. using System.Configuration.Internal;
  19. using System.IO;
  20. using System.Reflection;
  21. using System.Security;
  22. using System.Security.Permissions;
  23. using System.Threading;
  24. namespace System.Configuration
  25. {
  26.    
  27.     // Determines how much of configuration is written out on save.
  28.     public enum ConfigurationSaveMode
  29.     {
  30.         // If a setting is modified, it'll get written no matter it's
  31.         // same as the parent or not.
  32.         Modified = 0,
  33.        
  34.         // If a setting is the same as in its parent, it won't get written
  35.         Minimal = 1,
  36.        
  37.         // It writes out all the properties in the configurationat that level,
  38.         // including the one from the parents. Used for writing out the
  39.         // full config settings at a file.
  40.         Full = 2
  41.     }
  42. }

Developer Fusion