Table of Contents

Class TagsPayload

Namespace
Virtufin.WebSocketManager.Actors
Assembly
Virtufin.WebSocketManager.dll

Wraps GetTagsAsync's response. Not just a style choice: the generated actor client mis-emits InvokeResultAsync<Dictionary<TKey,TValue>> as InvokeResultAsync<Dictionary<TKey, TValue(...) -- a missing closing > -- whenever a bare generic collection is used directly as a method's return type (confirmed: the same type works fine as a parameter, e.g. SetTagsAsync(Dictionary<string, string>, CancellationToken); only the return-type path is broken). A real Dapr.Actors.Next source-generator bug, worth reporting upstream -- this wrapper works around it, not a design preference.

public sealed record TagsPayload : IEquatable<TagsPayload>
Inheritance
TagsPayload
Implements
Inherited Members

Constructors

TagsPayload(Dictionary<string, string>)

Wraps GetTagsAsync's response. Not just a style choice: the generated actor client mis-emits InvokeResultAsync<Dictionary<TKey,TValue>> as InvokeResultAsync<Dictionary<TKey, TValue(...) -- a missing closing > -- whenever a bare generic collection is used directly as a method's return type (confirmed: the same type works fine as a parameter, e.g. SetTagsAsync(Dictionary<string, string>, CancellationToken); only the return-type path is broken). A real Dapr.Actors.Next source-generator bug, worth reporting upstream -- this wrapper works around it, not a design preference.

public TagsPayload(Dictionary<string, string> Tags)

Parameters

Tags Dictionary<string, string>

Properties

Tags

public Dictionary<string, string> Tags { get; init; }

Property Value

Dictionary<string, string>