Class InMemoryPluginMessageSink
Namespace: DotBoxD.Abstractions
Assembly: DotBoxD.Abstractions.dll
public sealed class InMemoryPluginMessageSink : IPluginMessageSinkInheritance
Section titled “Inheritance”object ← InMemoryPluginMessageSink
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”InMemoryPluginMessageSink()
Section titled “ InMemoryPluginMessageSink()”public InMemoryPluginMessageSink()InMemoryPluginMessageSink(int)
Section titled “ InMemoryPluginMessageSink(int)”public InMemoryPluginMessageSink(int maxMessages)Parameters
Section titled “Parameters”maxMessages int
Properties
Section titled “Properties”Messages
Section titled “ Messages”public IReadOnlyList<PluginMessage> Messages { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Send(string, string)
Section titled “ Send(string, string)”public void Send(string targetId, string message)Parameters
Section titled “Parameters”targetId string
message string
SendAsync(string, string, CancellationToken)
Section titled “ SendAsync(string, string, CancellationToken)”public ValueTask SendAsync(string targetId, string message, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”targetId string
message string
cancellationToken CancellationToken