Table of Contents

Class AggregateMessage<TMessage1, TMessage2>

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll
public class AggregateMessage<TMessage1, TMessage2> : IMessage where TMessage1 : IMessage where TMessage2 : IMessage

Type Parameters

TMessage1
TMessage2
Inheritance
AggregateMessage<TMessage1, TMessage2>
Implements
Derived
Inherited Members
Extension Methods

Constructors

AggregateMessage(TMessage1, TMessage2, string?)

public AggregateMessage(TMessage1 message1, TMessage2 message2, string? from = null)

Parameters

message1 TMessage1
message2 TMessage2
from string

Properties

From

public string? From { get; set; }

Property Value

string

Message1

public TMessage1 Message1 { get; }

Property Value

TMessage1

Message2

public TMessage2 Message2 { get; }

Property Value

TMessage2

Methods

ToString()

public override string ToString()

Returns

string