Example #1
0
 /// <summary>
 ///     Adds activity input property mapping to an <see cref="IActivityStepBody"/>.
 /// </summary>
 internal static IStepBuilder <TData, TStep> WithActivity <TStep, TData>(this IStepBuilder <TData, TStep> builder)
     where TStep : IActivityStepBody
     where TData : WorkflowData
 => builder.Input(step => step.Activity, data => data.Activity);
Example #2
0
 /// <summary>
 ///     Adds progress bar property mapping to a <see cref="IProgressBarStepBody"/>.
 /// </summary>
 internal static IStepBuilder <TData, TStep> WithProgressBar <TStep, TData>(this IStepBuilder <TData, TStep> builder)
     where TStep : IProgressBarStepBody
     where TData : WorkflowData
 => builder.Input(step => step.ProgressBar, data => data.ProgressBar);
Example #3
0
 /// <summary>
 ///     Adds image registration input property mapping to an <see cref="IRegistrationStepBody"/>.
 /// </summary>
 internal static IStepBuilder <TData, TStep> WithRegistration <TStep, TData>(this IStepBuilder <TData, TStep> builder)
     where TStep : IRegistrationStepBody
     where TData : WorkflowData
 => builder.Input(step => step.Registration, data => data.Registration);