qol: interpolated strings

This commit is contained in:
Gary Sharp
2025-07-20 11:56:34 +10:00
parent 4e518d6684
commit 7faebe56a8
108 changed files with 342 additions and 350 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ namespace Disco.Web.Controllers
.FirstOrDefault(d => d.SerialNumber == id);
if (m.Device == null)
throw new ArgumentException(string.Format("Unknown Device: [{0}]", id), "id");
throw new ArgumentException($"Unknown Device: [{id}]", "id");
// No Necessary - Yet...
//if (!string.IsNullOrWhiteSpace(m.Device.ComputerName))