5 instantiations of ExecuteCommandResult
Aspire.Hosting (1)
ApplicationModel\ResourceCommandAnnotation.cs (1)
125public static ExecuteCommandResult Success() => new ExecuteCommandResult { Success = true };
Stress.AppHost (4)
ResourceBuilderExtensions.cs (4)
53return new ExecuteCommandResult { Success = false, ErrorMessage = "Endpoints are not yet allocated." }; 58return new ExecuteCommandResult { Success = false, ErrorMessage = $"The endpoint named '{endpointName}' on resource '{builder.Resource.Name}' does not have the expected scheme of '{expectedScheme}'." }; 71return new ExecuteCommandResult { Success = false, ErrorMessage = ex.Message }; 73return new ExecuteCommandResult { Success = true };
6 references to ExecuteCommandResult
Aspire.Hosting (6)
ApplicationModel\ResourceCommandAnnotation.cs (4)
21Func<ExecuteCommandContext, Task<ExecuteCommandResult>> executeCommand, 66public Func<ExecuteCommandContext, Task<ExecuteCommandResult>> ExecuteCommand { get; } 118/// A factory for <see cref="ExecuteCommandResult"/>. 125public static ExecuteCommandResult Success() => new ExecuteCommandResult { Success = true };
Dashboard\DashboardCommandExecutor.cs (1)
22public async Task<ExecuteCommandResult> ExecuteCommandAsync(string resourceId, ResourceCommandAnnotation annotation, CancellationToken cancellationToken)
ResourceBuilderExtensions.cs (1)
987Func<ExecuteCommandContext, Task<ExecuteCommandResult>> executeCommand,