File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/snippets/csharp/VS_Snippets_Winforms/System.ComponentModel.IPropertyChangeExample/CS Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,15 @@ public class DemoCustomer : INotifyPropertyChanged
81
81
{
82
82
// These fields hold the values for the public properties.
83
83
private Guid idValue = Guid . NewGuid ( ) ;
84
- private string customerNameValue = String . Empty ;
85
- private string phoneNumberValue = String . Empty ;
84
+ private string customerNameValue = string . Empty ;
85
+ private string phoneNumberValue = string . Empty ;
86
86
87
87
public event PropertyChangedEventHandler PropertyChanged ;
88
88
89
89
// This method is called by the Set accessor of each property.
90
90
// The CallerMemberName attribute that is applied to the optional propertyName
91
91
// parameter causes the property name of the caller to be substituted as an argument.
92
- private void NotifyPropertyChanged ( [ CallerMemberName ] String propertyName = "" )
92
+ private void NotifyPropertyChanged ( [ CallerMemberName ] string propertyName = "" )
93
93
{
94
94
if ( PropertyChanged != null )
95
95
{
@@ -156,4 +156,4 @@ public string PhoneNumber
156
156
}
157
157
// </snippet9>
158
158
}
159
- // </snippet1>
159
+ // </snippet1>
You can’t perform that action at this time.
0 commit comments