Table of Contents

Class ReflectionHelper

Namespace
Microsoft.AutoGen.Core
Assembly
Microsoft.AutoGen.Core.dll
public sealed class ReflectionHelper
Inheritance
ReflectionHelper
Inherited Members

Methods

GetAgentsMetadata(params Assembly[])

public static EventTypes GetAgentsMetadata(params Assembly[] assemblies)

Parameters

assemblies Assembly[]

Returns

EventTypes

GetMessageDescriptor(Type)

Gets the message descriptor for the specified type.

public static MessageDescriptor? GetMessageDescriptor(Type type)

Parameters

type Type

The type to get the message descriptor for.

Returns

MessageDescriptor

The message descriptor if found; otherwise, null.

IsSubclassOfGeneric(Type, Type)

public static bool IsSubclassOfGeneric(Type type, Type genericBaseType)

Parameters

type Type
genericBaseType Type

Returns

bool