@@ -20,8 +20,8 @@ namespace CommunityToolkit.Mvvm.SourceGenerators.ComponentModel.Models;
20
20
/// <param name="PropertyChangingNames">The sequence of property changing properties to notify.</param>
21
21
/// <param name="PropertyChangedNames">The sequence of property changed properties to notify.</param>
22
22
/// <param name="NotifiedCommandNames">The sequence of commands to notify.</param>
23
- /// <param name="AlsoBroadcastChange ">Whether or not the generated property also broadcasts changes.</param>
24
- /// <param name="AlsoValidateProperty ">Whether or not the generated property also validates its value.</param>
23
+ /// <param name="NotifyPropertyChangedRecipients ">Whether or not the generated property also broadcasts changes.</param>
24
+ /// <param name="NotifyDataErrorInfo ">Whether or not the generated property also validates its value.</param>
25
25
/// <param name="ForwardedAttributes">The sequence of forwarded attributes for the generated property.</param>
26
26
internal sealed record PropertyInfo (
27
27
string TypeNameWithNullabilityAnnotations ,
@@ -30,8 +30,8 @@ internal sealed record PropertyInfo(
30
30
ImmutableArray < string > PropertyChangingNames ,
31
31
ImmutableArray < string > PropertyChangedNames ,
32
32
ImmutableArray < string > NotifiedCommandNames ,
33
- bool AlsoBroadcastChange ,
34
- bool AlsoValidateProperty ,
33
+ bool NotifyPropertyChangedRecipients ,
34
+ bool NotifyDataErrorInfo ,
35
35
ImmutableArray < AttributeInfo > ForwardedAttributes )
36
36
{
37
37
/// <summary>
@@ -48,8 +48,8 @@ protected override void AddToHashCode(ref HashCode hashCode, PropertyInfo obj)
48
48
hashCode . AddRange ( obj . PropertyChangingNames ) ;
49
49
hashCode . AddRange ( obj . PropertyChangedNames ) ;
50
50
hashCode . AddRange ( obj . NotifiedCommandNames ) ;
51
- hashCode . Add ( obj . AlsoBroadcastChange ) ;
52
- hashCode . Add ( obj . AlsoValidateProperty ) ;
51
+ hashCode . Add ( obj . NotifyPropertyChangedRecipients ) ;
52
+ hashCode . Add ( obj . NotifyDataErrorInfo ) ;
53
53
hashCode . AddRange ( obj . ForwardedAttributes , AttributeInfo . Comparer . Default ) ;
54
54
}
55
55
@@ -63,8 +63,8 @@ protected override bool AreEqual(PropertyInfo x, PropertyInfo y)
63
63
x . PropertyChangingNames . SequenceEqual ( y . PropertyChangingNames ) &&
64
64
x . PropertyChangedNames . SequenceEqual ( y . PropertyChangedNames ) &&
65
65
x . NotifiedCommandNames . SequenceEqual ( y . NotifiedCommandNames ) &&
66
- x . AlsoBroadcastChange == y . AlsoBroadcastChange &&
67
- x . AlsoValidateProperty == y . AlsoValidateProperty &&
66
+ x . NotifyPropertyChangedRecipients == y . NotifyPropertyChangedRecipients &&
67
+ x . NotifyDataErrorInfo == y . NotifyDataErrorInfo &&
68
68
x . ForwardedAttributes . SequenceEqual ( y . ForwardedAttributes , AttributeInfo . Comparer . Default ) ;
69
69
}
70
70
}
0 commit comments