Class CreateWorkerRequest
- Namespace
- Virtufin.WorkManager.Contracts
- Assembly
- Virtufin.WorkManager.dll
Request to create a new worker.
public sealed record CreateWorkerRequest : IEquatable<CreateWorkerRequest>
- Inheritance
-
CreateWorkerRequest
- Implements
- Inherited Members
Constructors
CreateWorkerRequest(CodeSource, string, string, string?)
Request to create a new worker.
public CreateWorkerRequest(CodeSource CodeSource, string MimeType, string Topic, string? Group)
Parameters
CodeSourceCodeSourceThe source of the worker's code.
MimeTypestringThe MIME type of the code.
TopicstringThe topic to subscribe to.
GroupstringThe optional group identifier.
Properties
CodeSource
The source of the worker's code.
public CodeSource CodeSource { get; init; }
Property Value
Group
The optional group identifier.
public string? Group { get; init; }
Property Value
MimeType
The MIME type of the code.
public string MimeType { get; init; }
Property Value
Topic
The topic to subscribe to.
public string Topic { get; init; }