Table of Contents

Class PrintMessageMiddlewareExtension

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll
public static class PrintMessageMiddlewareExtension
Inheritance
PrintMessageMiddlewareExtension
Inherited Members

Methods

RegisterPrintFormatMessageHook<TAgent>(MiddlewareAgent<TAgent>)

[Obsolete("This API will be removed in v0.1.0, Use RegisterPrintMessage instead.")]
public static MiddlewareAgent<TAgent> RegisterPrintFormatMessageHook<TAgent>(this MiddlewareAgent<TAgent> agent) where TAgent : IAgent

Parameters

agent MiddlewareAgent<TAgent>

Returns

MiddlewareAgent<TAgent>

Type Parameters

TAgent

RegisterPrintFormatMessageHook<TAgent>(MiddlewareStreamingAgent<TAgent>)

[Obsolete("This API will be removed in v0.1.0, Use RegisterPrintMessage instead.")]
public static MiddlewareStreamingAgent<TAgent> RegisterPrintFormatMessageHook<TAgent>(this MiddlewareStreamingAgent<TAgent> agent) where TAgent : IStreamingAgent

Parameters

agent MiddlewareStreamingAgent<TAgent>

Returns

MiddlewareStreamingAgent<TAgent>

Type Parameters

TAgent

RegisterPrintFormatMessageHook<TAgent>(TAgent)

[Obsolete("This API will be removed in v0.1.0, Use RegisterPrintMessage instead.")]
public static MiddlewareAgent<TAgent> RegisterPrintFormatMessageHook<TAgent>(this TAgent agent) where TAgent : IAgent

Parameters

agent TAgent

Returns

MiddlewareAgent<TAgent>

Type Parameters

TAgent

RegisterPrintMessage<TAgent>(MiddlewareAgent<TAgent>)

Register a PrintMessageMiddleware to agent which print formatted message to console.

public static MiddlewareAgent<TAgent> RegisterPrintMessage<TAgent>(this MiddlewareAgent<TAgent> agent) where TAgent : IAgent

Parameters

agent MiddlewareAgent<TAgent>

Returns

MiddlewareAgent<TAgent>

Type Parameters

TAgent

RegisterPrintMessage<TAgent>(MiddlewareStreamingAgent<TAgent>)

Register a PrintMessageMiddleware to agent which print formatted message to console.

public static MiddlewareStreamingAgent<TAgent> RegisterPrintMessage<TAgent>(this MiddlewareStreamingAgent<TAgent> agent) where TAgent : IStreamingAgent

Parameters

agent MiddlewareStreamingAgent<TAgent>

Returns

MiddlewareStreamingAgent<TAgent>

Type Parameters

TAgent

RegisterPrintMessage<TAgent>(TAgent)

Register a PrintMessageMiddleware to agent which print formatted message to console.

public static MiddlewareAgent<TAgent> RegisterPrintMessage<TAgent>(this TAgent agent) where TAgent : IAgent

Parameters

agent TAgent

Returns

MiddlewareAgent<TAgent>

Type Parameters

TAgent