Interface IParameterValueProviderRegistry
- Namespace
- Acuit.Pinpoint.Workflows.Workstation.Parameters
- Assembly
- Acuit.Pinpoint.Workflows.Workstation.dll
The workstation parameter value provider registry.
[Obsolete("This is deprecated and will be removed in a future version. IWorkflowEventManager.AddContextParameterValueProvider should be used instead.")]
public interface IParameterValueProviderRegistry : IParameterValueProvider
- Inherited Members
Remarks
The workstation parameter value provider registry service allows plug-ins to register custom parameter value providers for workflows that run at the workstation.
This service implements IParameterValueProvider; TryGetParameterValue(string, out object), will search all parameter value providers registered via RegisterParameterValueProvider(IParameterValueProvider) (whose registrations have not subsequently been removed), in the order in which they were registered.
Registering or removing providers while getting a parameter value via TryGetParameterValue(string, out object) is not supported.
Methods
RegisterParameterValueProvider(IParameterValueProvider)
Registers a custom workstation parameter value provider.
IDisposable RegisterParameterValueProvider(IParameterValueProvider parameterValueProvider)
Parameters
parameterValueProvider
IParameterValueProviderThe parameter value provider.
Returns
- IDisposable
A IDisposable that can be used to remove this registration.
Remarks
Registered custom workstation parameter value providers will be searched for parameters in the order in which they were registered.
Exceptions
- ArgumentNullException
parameterValueProvider
is null.