feature: custom device models
This commit is contained in:
1 parent
3f1fa3d7de
commit
54a578f4a1
21 files changed
+1225
-514
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user