chore: 统一代码风格

This commit is contained in:
2026-05-28 19:23:28 +08:00
parent 87afe57bfa
commit 4ff375d132
13 changed files with 51 additions and 47 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ public class ViewLocator : IDataTemplate
if (param is null)
return null;
var name = param.GetType().FullName!.Replace("ViewModel", "View", StringComparison.Ordinal);
var type = Type.GetType(name);
string name = param.GetType().FullName!.Replace("ViewModel", "View", StringComparison.Ordinal);
Type? type = Type.GetType(name);
if (type != null)
{