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
TArgArgument type.
TResultResult 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
ReceiverClassNamestringName of the streamer receiver class to execute.
DeploymentUnitsIEnumerable<DeploymentUnit>Deployment units.
OptionsReceiverExecutionOptionsExecution 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
typeTypeReceiver type.
deploymentUnitsIEnumerable<DeploymentUnit>Deployment units.
optionsReceiverExecutionOptionsOptions.
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; }