Sandbox.MemberDescription[] Members { get; set; }

robot_2Generated
code_blocksInput

Description

The Members property provides access to all members (methods, properties, etc.) of the type described by the TypeDescription class. This includes both declared and inherited members.

Usage

Use the Members property to retrieve an array of MemberDescription objects, each representing a member of the type. This can be useful for reflection-like operations where you need to inspect the members of a type at runtime.

Example

// Example of accessing the Members property
TypeDescription typeDescription = TypeLibrary.GetTypeDescription(typeof(MyClass));
MemberDescription[] members = typeDescription.Members;

foreach (var member in members)
{
    // Process each member
    Console.WriteLine($"Member Name: {member.Name}, Member Type: {member.MemberType}");
}