Class MessagesAggregated<T>
This is the message that will be send automatically by the SendAndAggregate(IReadOnlyCollection<TStart>, Action<Message>) method.
Implements
IDisposable
Inherited Members
Namespace: Agents.Net
Assembly: Agents.Net.dll
Syntax
public class MessagesAggregated<T> : Message, IDisposable where T : Message
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Improve this Doc View SourceResult
The result of the aggregation.
Declaration
public MessageAggregationResult<T> Result { get; }
Property Value
| Type | Description |
|---|---|
| MessageAggregationResult<T> |
Methods
| Improve this Doc View SourceDataToString()
The method which should be overriden to provide a string representation of the carried data.
Declaration
protected override string DataToString()
Returns
| Type | Description |
|---|---|
| String | The string representation. |
Overrides
Remarks
If used, it should provide a short string as it is logged multiple times. To much data would slow down the application.
Implements
IDisposable