Stufe 4c (#764): Bezeichner auf Englisch - Typen, Methoden, Felder, Parameter, Locals, Testnamen
Mit Roslyn umbenannt (Verweise folgen, Zeichenketten bleiben unberuehrt). Nicht umbenannt, weil gespeichert oder ueber die API gebunden (Stufe 4e): Properties, Record-Parameter, Enum-Member sowie die Parameter der Endpunkt-Handler (Routen-/Query-Bindung ueber den Namen). Die JSON-Felder anonymer Objekte bleiben ausdruecklich benannt (JsonFilter: pfad). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
837a634a22
commit
77062facc9
@@ -31,11 +31,11 @@ public sealed class RunSetStatusTests : IDisposable
|
||||
/// <summary>A run that sets its own task to a status, as the taskboard tool would.</summary>
|
||||
private sealed class SettingDispatcher(SqliteTaskRepository repo, TaskItemStatus? set) : ITaskDispatcher
|
||||
{
|
||||
public async Task<TaskLauf> DispatchAsync(TaskItem task, CancellationToken ct)
|
||||
public async Task<DispatchOutcome> DispatchAsync(TaskItem task, CancellationToken ct)
|
||||
{
|
||||
if (set is { } status)
|
||||
await repo.SetStatusAsync(task.Id, status, DateTime.UtcNow, ct);
|
||||
return TaskLauf.Erledigt;
|
||||
return DispatchOutcome.Erledigt;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user