Files
Apr2020-Cpp2Il-Dump/System/ComponentModel/Design/IReferenceService.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

36 lines
1.6 KiB
C#

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