using System;
namespace System.ComponentModel.Design
{
/// Provides an interface for obtaining references to objects within a project by name or type, obtaining the name of a specified object, and for locating the parent of a specified object within a designer project.
// Token: 0x02000049 RID: 73
public interface IReferenceService
{
/// Gets the component that contains the specified component.
/// The base that contains the specified object, or null if no parent component exists.
/// The object to retrieve the parent component for.
// Token: 0x06000306 RID: 774
IComponent GetComponent(object reference);
/// Gets the name of the specified component.
/// The name of the object referenced, or null if the object reference is not valid.
/// The object to return the name of.
// Token: 0x06000307 RID: 775
string GetName(object reference);
/// Gets a reference to the component whose name matches the specified name.
/// An object the specified name refers to, or null if no reference is found.
/// The name of the component to return a reference to.
// Token: 0x06000308 RID: 776
object GetReference(string name);
/// Gets all available references to project components.
/// An array of all objects with references available to the .
// Token: 0x06000309 RID: 777
object[] GetReferences();
/// Gets all available references to components of the specified type.
/// An array of all available objects of the specified type.
/// The type of object to return references to instances of.
// Token: 0x0600030A RID: 778
object[] GetReferences(Type baseType);
}
}