private static Func <Job, JobExecution, JobTask> GetByJob(JobTaskRepositoryFactoryContext context) { return((job, execution) => { return JobTaskFactory.Build(with => { with.Job = job; with.Blobs = context.Blobs; with.Execution = execution; }); }); }
private static Func<Job, JobTask> New(JobTaskRepositoryFactoryContext context) { return job => { return JobTaskFactory.Build(with => { with.Job = job; with.Blobs = context.Blobs; with.Execution = context.Executions.New(job.Header); }); }; }
private static Func <Job, JobTask> New(JobTaskRepositoryFactoryContext context) { return(job => { return JobTaskFactory.Build(with => { with.Job = job; with.Blobs = context.Blobs; with.Execution = context.Executions.New(job.Header); }); }); }
private static Func<Job, JobExecution, JobTask> GetByJob(JobTaskRepositoryFactoryContext context) { return (job, execution) => { return JobTaskFactory.Build(with => { with.Job = job; with.Blobs = context.Blobs; with.Execution = execution; }); }; }