コード例 #1
0
 public static Task <WorkflowSetting?> FindByWorkflowBlueprintIdAndKeyAsync(
     this IWorkflowSettingsStore store,
     string workflowBlueprintId,
     string key,
     CancellationToken cancellationToken = default) =>
 store.FindAsync(new WorkflowSettingsBlueprintIdSpecification(workflowBlueprintId, key), cancellationToken);
コード例 #2
0
 public Task <WorkflowSetting?> FindAsync(ISpecification <WorkflowSetting> specification, CancellationToken cancellationToken) => _store.FindAsync(specification, cancellationToken);
コード例 #3
0
 public static Task <WorkflowSetting?> FindByIdAsync(
     this IWorkflowSettingsStore store,
     string id,
     CancellationToken cancellationToken = default) =>
 store.FindAsync(new WorkflowSettingsIdSpecification(id), cancellationToken);