private StepHandlerDefinition BuildStepHandler(StepHandlerBuilder sbStepHandler) { return(new StepHandlerDefinition(stepHandlerType: sbStepHandler.StepHandlerType, script: sbStepHandler.ScriptBuilder == null?null:BuildScript(sbStepHandler.ScriptBuilder), iocName: sbStepHandler.IocName, classFullName: sbStepHandler.FullClassName)); }
/// <summary> /// Initializes a new instance of the <see cref="StepBuilder"/> class. /// </summary> /// <param name="parent">Parent Builder</param> /// <param name="id">The identifier.</param> /// <param name="name">The name.</param> /// <param name="description">The description.</param> public StepBuilder(ProcessBuilder parent, string id, string name = "", string description = "") { parent.NotNull("parent"); _parent = parent; id.NotNull("id").NotEmptyString("id"); Id = id; Name = name; Description = description; StepHandler = new StepHandlerBuilder(this); }