2 writes to Canceled
Aspire.Hosting (2)
ApplicationModel\ResourceCommandAnnotation.cs (1)
136
public static ExecuteCommandResult Canceled() => new() { Success = false,
Canceled
= true };
ApplicationModel\ResourceCommandService.cs (1)
104
return new ExecuteCommandResult { Success = false,
Canceled
= true };
8 references to Canceled
Aspire.Hosting (3)
ApplicationModel\ResourceCommandService.cs (2)
86
if (results[i].
Canceled
)
144
else if (result.
Canceled
)
Dashboard\DashboardServiceData.cs (1)
102
if (result.
Canceled
)
Aspire.Hosting.Tests (5)
ResourceCommandServiceTests.cs (5)
213
Assert.True(result.
Canceled
);
241
Assert.True(result.
Canceled
);
276
Assert.False(result.
Canceled
); // Should not be canceled since there was at least one failure
293
Assert.True(result.
Canceled
);
319
Assert.True(result.
Canceled
);