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

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IInternalConfigSettingsFactory.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.     // Used by System.Web.Configuration.HttpConfigurationSystem to set the
  36.     // configuration system for the ConfigurationSettings class.
  37.     //
  38.     [System.Runtime.InteropServices.ComVisible(false)]
  39.     public interface IInternalConfigSettingsFactory
  40.     {
  41.         void SetConfigurationSystem(IInternalConfigSystem internalConfigSystem, bool initComplete);
  42.         void CompleteInit();
  43.     }
  44. }

Developer Fusion