Class AggregateMessage<TMessage1, TMessage2>
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
TMessage1message2
TMessage2from
string
Properties
From
public string? From { get; set; }
Property Value
Message1
public TMessage1 Message1 { get; }
Property Value
- TMessage1
Message2
public TMessage2 Message2 { get; }
Property Value
- TMessage2
Methods
ToString()
public override string ToString()