@@ -16,7 +16,7 @@ public sealed class ResourceChangeTracker<TResource> : IResourceChangeTracker<TR
16
16
private readonly ITargetedFields _targetedFields ;
17
17
18
18
private IDictionary < string , string > _initiallyStoredAttributeValues ;
19
- private IDictionary < string , string > _requestedAttributeValues ;
19
+ private IDictionary < string , string > _requestAttributeValues ;
20
20
private IDictionary < string , string > _finallyStoredAttributeValues ;
21
21
22
22
public ResourceChangeTracker ( IJsonApiOptions options , IResourceContextProvider resourceContextProvider , ITargetedFields targetedFields )
@@ -40,11 +40,11 @@ public void SetInitiallyStoredAttributeValues(TResource resource)
40
40
}
41
41
42
42
/// <inheritdoc />
43
- public void SetRequestedAttributeValues ( TResource resource )
43
+ public void SetRequestAttributeValues ( TResource resource )
44
44
{
45
45
ArgumentGuard . NotNull ( resource , nameof ( resource ) ) ;
46
46
47
- _requestedAttributeValues = CreateAttributeDictionary ( resource , _targetedFields . Attributes ) ;
47
+ _requestAttributeValues = CreateAttributeDictionary ( resource , _targetedFields . Attributes ) ;
48
48
}
49
49
50
50
/// <inheritdoc />
@@ -75,12 +75,12 @@ public bool HasImplicitChanges()
75
75
{
76
76
foreach ( string key in _initiallyStoredAttributeValues . Keys )
77
77
{
78
- if ( _requestedAttributeValues . ContainsKey ( key ) )
78
+ if ( _requestAttributeValues . ContainsKey ( key ) )
79
79
{
80
- string requestedValue = _requestedAttributeValues [ key ] ;
80
+ string requestValue = _requestAttributeValues [ key ] ;
81
81
string actualValue = _finallyStoredAttributeValues [ key ] ;
82
82
83
- if ( requestedValue != actualValue )
83
+ if ( requestValue != actualValue )
84
84
{
85
85
return true ;
86
86
}
0 commit comments