Table of Contents

Class InMemoryPluginMessageSink

Namespace
DotBoxD.Abstractions
Assembly
DotBoxD.Abstractions.dll
public sealed class InMemoryPluginMessageSink : IPluginMessageSink
Inheritance
InMemoryPluginMessageSink
Implements
Inherited Members

Constructors

InMemoryPluginMessageSink()

public InMemoryPluginMessageSink()

Properties

Messages

public IReadOnlyList<PluginMessage> Messages { get; }

Property Value

IReadOnlyList<PluginMessage>

Methods

Send(string, string)

public void Send(string targetId, string message)

Parameters

targetId string
message string

SendAsync(string, string, CancellationToken)

public ValueTask SendAsync(string targetId, string message, CancellationToken cancellationToken = default)

Parameters

targetId string
message string
cancellationToken CancellationToken

Returns

ValueTask