14 instantiations of LaunchSettingsApplyResult
dotnet (14)
Commands\Run\LaunchSettings\LaunchSettingsManager.cs (7)
42
return new
LaunchSettingsApplyResult
(false, CliCommandStrings.LaunchProfilesCollectionIsNotAJsonObject);
66
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.LaunchProfileDoesNotExist, profileName));
75
return new
LaunchSettingsApplyResult
(false, CliCommandStrings.LaunchProfileIsNotAJsonObject);
99
return new
LaunchSettingsApplyResult
(false, CliCommandStrings.UsableLaunchProfileCannotBeLocated);
105
return new
LaunchSettingsApplyResult
(false, CliCommandStrings.UsableLaunchProfileCannotBeLocated);
111
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.LaunchProfileHandlerCannotBeLocated, commandName));
119
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.DeserializationExceptionMessage, launchSettingsPath, ex.Message));
Commands\Run\LaunchSettings\ProjectLaunchSettingsProvider.cs (7)
27
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.CouldNotConvertToString, property.Name));
36
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.CouldNotConvertToBoolean, property.Name));
45
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.CouldNotConvertToString, property.Name));
54
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.CouldNotConvertToString, property.Name));
63
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.CouldNotConvertToString, property.Name));
72
return new
LaunchSettingsApplyResult
(false, string.Format(CliCommandStrings.ValueMustBeAnObject, property.Name));
85
return new
LaunchSettingsApplyResult
(true, null, config);
5 references to LaunchSettingsApplyResult
dotnet (5)
Commands\Run\LaunchSettings\ILaunchSettingsProvider.cs (1)
10
LaunchSettingsApplyResult
TryGetLaunchSettings(string? launchProfileName, JsonElement model);
Commands\Run\LaunchSettings\LaunchSettingsManager.cs (1)
25
public static
LaunchSettingsApplyResult
TryApplyLaunchSettings(string launchSettingsPath, string? profileName = null)
Commands\Run\LaunchSettings\ProjectLaunchSettingsProvider.cs (1)
14
public
LaunchSettingsApplyResult
TryGetLaunchSettings(string? launchProfileName, JsonElement model)
Commands\Run\RunCommand.cs (1)
233
var
applyResult = LaunchSettingsManager.TryApplyLaunchSettings(launchSettingsPath, LaunchProfile);
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
401
var
result = LaunchSettingsManager.TryApplyLaunchSettings(launchSettingsPath, profileName);