chore: use nameof expression.

This commit is contained in:
NaBian committed 2022-10-10 23:15:48 +08:00
1 parent 3876444176
commit c513f5c6f5
116 files changed
+507 -507

No files matched your search

@@ -15,7 +15,7 @@ public partial class AboutWindow
}
public static readonly DependencyProperty CopyRightProperty = DependencyProperty.Register(
"CopyRight", typeof(string), typeof(AboutWindow), new PropertyMetadata(default(string)));
nameof(CopyRight), typeof(string), typeof(AboutWindow), new PropertyMetadata(default(string)));
public string CopyRight
{
@@ -24,7 +24,7 @@ public partial class AboutWindow
}
public static readonly DependencyProperty VersionProperty = DependencyProperty.Register(
"Version", typeof(string), typeof(AboutWindow), new PropertyMetadata(default(string)));
nameof(Version), typeof(string), typeof(AboutWindow), new PropertyMetadata(default(string)));
public string Version
{
@@ -17,7 +17,7 @@ public partial class DialogDemoWindow
}
public static readonly DependencyProperty DialogTokenProperty = DependencyProperty.Register(
"DialogToken", typeof(string), typeof(DialogDemoWindow), new PropertyMetadata(default(string)));
nameof(DialogToken), typeof(string), typeof(DialogDemoWindow), new PropertyMetadata(default(string)));
public string DialogToken
{