//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.ComponentModel.Design {
using System.ComponentModel;
using System.Diagnostics;
using System;
///
///
/// Provides an interface to get names and references to objects. These
/// methods can search using the specified name or reference.
///
///
public interface IReferenceService {
///
///
/// Gets the base component that anchors this reference.
///
///
IComponent GetComponent(object reference);
///
///
/// Gets a reference for the specified name.
///
///
object GetReference(string name);
///
///
/// Gets the name for this reference.
///
///
string GetName(object reference);
///
///
/// Gets all available references.
///
///
object[] GetReferences();
///
///
/// Gets all available references of this type.
///
///
object[] GetReferences(Type baseType);
}
}