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: 0x020001C1 RID: 449 [Token(Token = "0x20001C1")] 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: 0x06000C19 RID: 3097 [Token(Token = "0x6000C19")] [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: 0x06000C1A RID: 3098 [Token(Token = "0x6000C1A")] [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: 0x06000C1B RID: 3099 [Token(Token = "0x6000C1B")] [Address(Slot = "2")] object[] GetReferences(Type baseType); } }