Class ReceiverDescriptor<TArg, TResult>
Stream receiver descriptor with a result type.
[Obsolete("Use ReceiverDescriptor<TItem, TArg, TResult> instead. This type will be removed in a future release.")]
public sealed record ReceiverDescriptor<TArg, TResult> : IEquatable<ReceiverDescriptor<TArg, TResult>>
Type Parameters
TArg
Argument type.
TResult
Result type.
- Inheritance
-
ReceiverDescriptor<TArg, TResult>
- Implements
-
IEquatable<ReceiverDescriptor<TArg, TResult>>
- Inherited Members
Constructors
ReceiverDescriptor(string, IEnumerable<DeploymentUnit>?, ReceiverExecutionOptions?)
Stream receiver descriptor with a result type.
public ReceiverDescriptor(string ReceiverClassName, IEnumerable<DeploymentUnit>? DeploymentUnits = null, ReceiverExecutionOptions? Options = null)
Parameters
ReceiverClassName
stringName of the streamer receiver class to execute.
DeploymentUnits
IEnumerable<DeploymentUnit>Deployment units.
Options
ReceiverExecutionOptionsExecution options.
ReceiverDescriptor(Type, IEnumerable<DeploymentUnit>?, ReceiverExecutionOptions?)
Initializes a new instance of the ReceiverDescriptor<TArg, TResult> class.
public ReceiverDescriptor(Type type, IEnumerable<DeploymentUnit>? deploymentUnits = null, ReceiverExecutionOptions? options = null)
Parameters
type
TypeReceiver type.
deploymentUnits
IEnumerable<DeploymentUnit>Deployment units.
options
ReceiverExecutionOptionsOptions.
Properties
DeploymentUnits
Deployment units.
public IEnumerable<DeploymentUnit>? DeploymentUnits { get; init; }
Property Value
Options
Execution options.
public ReceiverExecutionOptions? Options { get; init; }
Property Value
ReceiverClassName
Name of the streamer receiver class to execute.
public string ReceiverClassName { get; init; }