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

@@ -7,7 +7,7 @@ namespace HandyControl.Controls;
public class Empty : ContentControl
{
public static readonly DependencyProperty DescriptionProperty = DependencyProperty.Register(
"Description", typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
nameof(Description), typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
public object Description
{
@@ -16,7 +16,7 @@ public class Empty : ContentControl
}
public static readonly DependencyProperty LogoProperty = DependencyProperty.Register(
"Logo", typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
nameof(Logo), typeof(object), typeof(Empty), new PropertyMetadata(default(object)));
public object Logo
{