using System;
using Cpp2IlInjected;
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: 0x020001C5 RID: 453
[Token(Token = "0x20001C5")]
public interface IReferenceService
{
/// Gets a reference to the component whose name matches the specified name.
/// The name of the component to return a reference to.
/// An object the specified name refers to, or if no reference is found.
// Token: 0x06000C2F RID: 3119
[Token(Token = "0x6000C2F")]
[Address(Slot = "0")]
object GetReference(string name);
/// Gets the name of the specified component.
/// The object to return the name of.
/// The name of the object referenced, or if the object reference is not valid.
// Token: 0x06000C30 RID: 3120
[Token(Token = "0x6000C30")]
[Address(Slot = "1")]
string GetName(object reference);
/// Gets all available references to components of the specified type.
/// The type of object to return references to instances of.
/// An array of all available objects of the specified type.
// Token: 0x06000C31 RID: 3121
[Token(Token = "0x6000C31")]
[Address(Slot = "2")]
object[] GetReferences(Type baseType);
}
}