feature: custom device models

This commit is contained in:
Gary Sharp
2025-07-11 12:55:50 +10:00
parent 3f1fa3d7de
commit 54a578f4a1
21 changed files with 1225 additions and 514 deletions
@@ -116,5 +116,13 @@ namespace Disco
.Select(s => s.Score(Test, Fuzziness))
.Average();
}
public static string NullOrTrimmed(this string value)
{
if (string.IsNullOrWhiteSpace(value))
return null;
else
return value.Trim();
}
}
}