private BaseStep[] BuildSteps(UniqueActivityId activityId, IEnumerable <StepSchema> stepSchemas) { return(stepSchemas.Select(x => BuildStep(activityId, x)).ToArray()); }
private BaseStep BuildStep(UniqueActivityId activityId, StepSchema stepSchema) { var stepId = activityId.MakeStepId(stepSchema.Name); return(CreateStepInstance(stepSchema, stepId)); }
protected bool Equals(UniqueActivityId other) { return(string.Equals(_activityId, other._activityId) && string.Equals(_stageId, other._stageId) && string.Equals(_pipelineId, other._pipelineId) && string.Equals(_schemaName, other._schemaName)); }