The Labs \ Source Viewer \ SSCLI \ System.Configuration.Internal \ IConfigurationManagerInternal

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IConfigurationManagerInternal.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 System;
  16. using System.IO;
  17. using System.Security;
  18. using System.Collections.Specialized;
  19. using System.Configuration;
  20. using ClassConfiguration = System.Configuration.Configuration;
  21. //
  22. // This file contains most of the interfaces that allow System.Web, Venus, and
  23. // Whitehorse to customize configuration in some way.
  24. //
  25. // The goal of the design of customization is to only require other MS assemblies
  26. // to create an instance of an internal object via Activator.CreateInstance(), and then
  27. // use these objects through *public* System.Configuration.Internal interfaces.
  28. // We do not want extenders to have to use reflection to call a method - it is slow,
  29. // not typesafe, and more difficult to promote correct use of the internal object.
  30. //
  31. namespace System.Configuration.Internal
  32. {
  33.    
  34.     //
  35.     // Exposes support in System.Configuration for functions that were
  36.     // once available in System.dll
  37.     //
  38.     [System.Runtime.InteropServices.ComVisible(false)]
  39.     public interface IConfigurationManagerInternal
  40.     {
  41.         bool SupportsUserConfig {
  42.             get;
  43.         }
  44.         bool SetConfigurationSystemInProgress {
  45.             get;
  46.         }
  47.         string MachineConfigPath {
  48.             get;
  49.         }
  50.         string ApplicationConfigUri {
  51.             get;
  52.         }
  53.         string ExeProductName {
  54.             get;
  55.         }
  56.         string ExeProductVersion {
  57.             get;
  58.         }
  59.         string ExeRoamingConfigDirectory {
  60.             get;
  61.         }
  62.         string ExeRoamingConfigPath {
  63.             get;
  64.         }
  65.         string ExeLocalConfigDirectory {
  66.             get;
  67.         }
  68.         string ExeLocalConfigPath {
  69.             get;
  70.         }
  71.         string UserConfigFilename {
  72.             get;
  73.         }
  74.     }
  75. }

Developer Fusion