using System;
using MW.WorkFlow;

namespace MainShell.Process
{
    public class WorkflowStartRequest
    {
        public WorkflowDefinition Definition { get; }
        public WorkflowContext Context { get; }
        public string StartStepId { get; }

        public WorkflowStartRequest(WorkflowDefinition definition, WorkflowContext context, string startStepId)
        {
            Definition = definition ?? throw new ArgumentNullException(nameof(definition));
            Context = context ?? throw new ArgumentNullException(nameof(context));
            StartStepId = startStepId;
        }
    }
}
