Class JsonMessage<T>
Represents JSON-serializable message.
Inherited Members
Namespace: DotNext.Net.Cluster.Messaging
Assembly: DotNext.Net.Cluster.dll
Syntax
public sealed class JsonMessage<T> : IMessage, IDataTransferObject where T : IJsonSerializable<T>
Type Parameters
| Name | Description |
|---|---|
| T | JSON-serializable type. |
Properties
| Edit this page View SourceContent
Gets the content of this message.
Declaration
public required T Content { get; init; }
Property Value
| Type | Description |
|---|---|
| T |
Name
Gets the name of this message.
Declaration
public required string Name { get; init; }
Property Value
| Type | Description |
|---|---|
| string |