public ReleaseStatusState(ReleaseStatusContentStage content, ReleaseStatusFilesStage files, ReleaseStatusDataStage data, ReleaseStatusPublishingStage publishing, ReleaseStatusOverallStage overall) { _content = content; _files = files; _data = data; _publishing = publishing; _overall = overall; }
private async Task UpdateStage(Guid releaseId, Guid releaseStatusId, ReleaseStatusFilesStage stage, ReleaseStatusLogMessage logMessage = null) { await _releaseStatusService.UpdateFilesStageAsync(releaseId, releaseStatusId, stage, logMessage); }
public async Task UpdateFilesStageAsync(Guid releaseId, Guid releaseStatusId, ReleaseStatusFilesStage stage, ReleaseStatusLogMessage logMessage = null) { await UpdateRowAsync(releaseId, releaseStatusId, row => { row.State.Files = stage; row.AppendLogMessage(logMessage); return(row); }); }
private static string FilterFilesStageEquals(ReleaseStatusFilesStage stage) => GenerateFilterCondition(nameof(ReleaseStatus.FilesStage), Equal, stage.ToString());