<?xml version="1.0" encoding="utf-8"?>
<Type Name="ITypeDiscoveryService" FullName="System.ComponentModel.Design.ITypeDiscoveryService">
  <TypeSignature Language="C#" Value="public interface ITypeDiscoveryService" />
  <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract ITypeDiscoveryService" />
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Interfaces />
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.ComponentModel.Design.ITypeDiscoveryService" /> is used to discover available types at design time, when a client of the service does not know the names of existing types or referenced assemblies.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Discovers available types at design time.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="GetTypes">
      <MemberSignature Language="C#" Value="public System.Collections.ICollection GetTypes (Type baseType, bool excludeGlobalTypes);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.ICollection GetTypes(class System.Type baseType, bool excludeGlobalTypes) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Collections.ICollection</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="baseType" Type="System.Type" />
        <Parameter Name="excludeGlobalTypes" Type="System.Boolean" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>If <paramref name="baseType" /> is null, all types are returned. Otherwise, only types derived from the specified base type are returned. If <paramref name="excludeGlobalTypes" /> is false, types from all referenced assemblies are checked. Otherwise, only types from non-Global Assembly Cache (GAC) referenced assemblies are checked. For more information, see <format type="text/html"><a href="8A18E5C2-D41D-49EF-ABCB-7C27E2469433">Working with Assemblies and the Global Assembly Cache</a></format>.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Retrieves the list of available types.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A collection of types that match the criteria specified by <paramref name="baseType" /> and <paramref name="excludeGlobalTypes" />.</para>
        </returns>
        <param name="baseType">
          <attribution license="cc4" from="Microsoft" modified="false" />The base type to match. Can be null.</param>
        <param name="excludeGlobalTypes">
          <attribution license="cc4" from="Microsoft" modified="false" />Indicates whether types from all referenced assemblies should be checked.</param>
      </Docs>
    </Member>
  </Members>
</Type>