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