//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.ComponentModel.Design {
using System;
using System.Collections;
using System.ComponentModel.Design;
///
/// This service allows design-time enumeration of components across the toolbox
/// and other available types at design-time.
///
public interface IComponentDiscoveryService {
///
/// Retrieves the list of available component types, i.e. types implementing
/// IComponent. If baseType is null, all components are retrieved; otherwise
/// only component types derived from the specified baseType are returned.
///
ICollection GetComponentTypes(IDesignerHost designerHost, Type baseType);
}
}