mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Use format strings
This commit is contained in:
@@ -538,7 +538,7 @@ namespace Microsoft.Zune.Shell
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (num > 0)
|
if (num > 0)
|
||||||
throw new ZuneShellException("Internal Zune Shell error", string.Format("Scripting errors encountered (Process ID) = {0}\n\n{1}", Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture), str));
|
throw new ZuneShellException("Internal Zune Shell error", $"Scripting errors encountered (Process ID) = {Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture)}\n\n{str}");
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static bool CanAddMedia(IList filenames, MediaType mediaType, CanAddMediaArgs args)
|
internal static bool CanAddMedia(IList filenames, MediaType mediaType, CanAddMediaArgs args)
|
||||||
|
|||||||
Reference in New Issue
Block a user