PatchworkLauncher.LaunchManager.Command_Display_Patching_Error C# (CSharp) Méthode

Command_Display_Patching_Error() private méthode

private Command_Display_Patching_Error ( PatchingProcessException ex ) : void
ex PatchingProcessException
Résultat void
		private void Command_Display_Patching_Error(PatchingProcessException ex) {
			var targetFile = ex.TargetFile;
			var thePatch = ex.AssociatedInstruction?.Name;
			var objectsThatFailed = "";
			if (targetFile != null && thePatch != null) {
				objectsThatFailed = $"{thePatch} ⇒ {targetFile}";
			} else if (targetFile != null) {
				objectsThatFailed = targetFile;
			}
			var tryingToDoWhat = ex.Step.GetEnumValueText() ?? "Patch a file";
			Command_Display_Error(tryingToDoWhat, objectsThatFailed, ex.InnerException);
		}