Class WorkflowEventHandlerOptions
- Namespace
- Acuit.Pinpoint.Workflows.Workstation
- Assembly
- Acuit.Pinpoint.Workflows.Workstation.dll
Workflow event handler options.
public class WorkflowEventHandlerOptions : IUriContext
- Inheritance
-
WorkflowEventHandlerOptions
- Implements
- Inherited Members
Properties
BaseUri
Gets or sets the optional base URI for the workflow, which should normally represent the absolute location of the workflow XAML file.
public Uri BaseUri { get; set; }
Property Value
Remarks
If this is not null, when the workflow executes, a IUriContext service will be provided to the executing workflow that will return this URI.
ServiceProvider could also be used to provide the appropriate IUriContext service, but this property exists for convenience since this is a common requirement. When both BaseUri and ServiceProvider are set, BaseUri will take precedence when ServiceProvider also provides a IUriContext service.
ParameterValueProvider
Gets or sets an optional parameter value provider specific to this workflow.
public IParameterValueProvider ParameterValueProvider { get; set; }
Property Value
Remarks
If this is not null, when the workflow executes, this parameter value provider will be made available to the workflow, combined with other applicable parameter value providers.
ServiceProvider
Gets or sets an optional server provider specific to this workflow.
public IServiceProvider ServiceProvider { get; set; }
Property Value
Remarks
If this is not null, when the workflow executes, this service provider will be made available to the workflow, combined with other applicable service providers.
Methods
GetEffectiveServiceProvider(IServiceProvider)
Gets the effective service provider representing these options and an inherited service provider.
public IServiceProvider GetEffectiveServiceProvider(IServiceProvider inheritedServiceProvider)
Parameters
inheritedServiceProvider
IServiceProviderThe inherited service provider.
Returns
- IServiceProvider
If these options specify additional services, then a new ExtendedServiceProvider representing the effective service provider; otherwise,
inheritedServiceProvider
.
Exceptions
- ArgumentNullException
inheritedServiceProvider
is null.