Table of Contents

Class MessageEnvelope

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll
public abstract class MessageEnvelope : IMessage
Inheritance
MessageEnvelope
Implements
Derived
Inherited Members
Extension Methods

Constructors

MessageEnvelope(string?, IDictionary<string, object>?)

public MessageEnvelope(string? from = null, IDictionary<string, object>? metadata = null)

Parameters

from string
metadata IDictionary<string, object>

Properties

From

public string? From { get; set; }

Property Value

string

Metadata

public IDictionary<string, object> Metadata { get; set; }

Property Value

IDictionary<string, object>

Methods

Create<TContent>(TContent, string?, IDictionary<string, object>?)

public static MessageEnvelope<TContent> Create<TContent>(TContent content, string? from = null, IDictionary<string, object>? metadata = null)

Parameters

content TContent
from string
metadata IDictionary<string, object>

Returns

MessageEnvelope<TContent>

Type Parameters

TContent