Class AggregatingDesignerParameterFormatProvider
OptimaJet.Workflow.Core.Runtime.AggregatingDesignerParameterFormatProvider
Combines registered IDesignerParameterFormatProvider implementations into one provider and selects a single structured parameter format by registration priority.
Namespace: OptimaJet.Workflow.Core.Runtime
public class AggregatingDesignerParameterFormatProvider : BaseAggregatingProvider<IDesignerParameterFormatProvider>, IDesignerParameterFormatProviderType Hierarchy
- BaseAggregatingProvider<IDesignerParameterFormatProvider>
- AggregatingDesignerParameterFormatProvider Current type
- Implemented interfaces
- AggregatingDesignerParameterFormatProvider Current type
Methods
public List<CodeActionParameterDefinition> GetFormat(CodeActionType type, string name, string schemeCode) #Gets the ordered form-field definitions for a named action, condition, or rule.
Parameters
Name
Type
Description
typeCodeActionTypeThe parameter usage context: CodeActionType.Action, CodeActionType.Condition, CodeActionType.RuleCheck, or CodeActionType.RuleGet.
nameStringThe action, condition, or rule name selected in the Designer.
schemeCodeStringThe current process scheme code, which can be used to provide scheme-specific fields. The value may be null when the format is requested without a process scheme context.
Returns
Type
Description
List<CodeActionParameterDefinition>An ordered list containing one CodeActionParameterDefinition per form field. Returning null or an empty list indicates that no structured parameter editor is defined; the Designer then uses its raw JSON editor.
Remarks
The same
type, name, and schemeCode values are passed to each provider until one returns a non-empty list.Remarks
For a scheme, both global providers and providers registered specifically for that scheme are applicable. Providers are queried from the most recently registered to the earliest, regardless of registration scope. A null or empty result means that a provider has no format for the request, so resolution continues with the next provider. The first non-empty result is returned unchanged; formats from different providers are never combined.