The Labs \ Source Viewer \ SSCLI \ System.ComponentModel.Design \ ITypeDiscoveryService

  1. //------------------------------------------------------------------------------
  2. // <copyright file="ITypeDiscoveryService.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. namespace System.ComponentModel.Design
  16. {
  17.     using System;
  18.     using System.Collections;
  19.    
  20.     /// <devdoc>
  21.     /// The type discovery service is used to discover available types at design time,
  22.     /// when the consumer doesn't know the names of existing types or referenced assemblies.
  23.     /// </devdoc>
  24.     public interface ITypeDiscoveryService
  25.     {
  26.        
  27.         /// <devdoc>
  28.         /// Retrieves the list of available types. If baseType is null, all
  29.         /// types are returned. Otherwise, only types deriving from the
  30.         /// specified base type are returned. If bool excludeGlobalTypes is false,
  31.         /// types from all referenced assemblies are checked. Otherwise,
  32.         /// only types from non-GAC referenced assemblies are checked.
  33.         /// </devdoc>
  34.         ICollection GetTypes(Type baseType, bool excludeGlobalTypes);
  35.     }
  36. }

Developer Fusion