@@ -317,7 +317,7 @@ public void Clear_ExistingValues_IsDirty() {
317
317
| TEST: SET VALUE: VALUE UNCHANGED: IS NOT DIRTY?
318
318
\-------------------------------------------------------------------------------------------------------------------------*/
319
319
/// <summary>
320
- /// Sets the value of a custom <see cref="AttributeValue "/> to the existing value and ensures it is <i>not</i> marked as
320
+ /// Sets the value of a custom <see cref="AttributeRecord "/> to the existing value and ensures it is <i>not</i> marked as
321
321
/// <see cref="TrackedRecord{T}.IsDirty"/>.
322
322
/// </summary>
323
323
[ TestMethod ]
@@ -336,7 +336,7 @@ public void SetValue_ValueUnchanged_IsNotDirty() {
336
336
| TEST: IS DIRTY: DIRTY VALUES: RETURNS TRUE
337
337
\-------------------------------------------------------------------------------------------------------------------------*/
338
338
/// <summary>
339
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> that is marked as <see
339
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> that is marked as <see
340
340
/// cref="TrackedRecord{T}.IsDirty"/>. Confirms that <see cref="AttributeValueCollection.IsDirty(Boolean)"/> returns
341
341
/// <c>true</c>.
342
342
/// </summary>
@@ -355,7 +355,7 @@ public void IsDirty_DirtyValues_ReturnsTrue() {
355
355
| TEST: IS DIRTY: DELETED VALUES: RETURNS TRUE
356
356
\-------------------------------------------------------------------------------------------------------------------------*/
357
357
/// <summary>
358
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> and then deletes it. Confirms
358
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> and then deletes it. Confirms
359
359
/// that <see cref="AttributeValueCollection.IsDirty(Boolean)"/> returns <c>true</c>.
360
360
/// </summary>
361
361
[ TestMethod ]
@@ -374,7 +374,7 @@ public void IsDirty_DeletedValues_ReturnsTrue() {
374
374
| TEST: IS DIRTY: NO DIRTY VALUES: RETURNS FALSE
375
375
\-------------------------------------------------------------------------------------------------------------------------*/
376
376
/// <summary>
377
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> that is <i>not</i> marked as
377
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> that is <i>not</i> marked as
378
378
/// <see cref="TrackedRecord{T}.IsDirty"/>. Confirms that <see cref="AttributeValueCollection.IsDirty(Boolean)"/> returns
379
379
/// <c>false</c>/
380
380
/// </summary>
@@ -393,8 +393,8 @@ public void IsDirty_NoDirtyValues_ReturnsFalse() {
393
393
| TEST: IS DIRTY: EXCLUDE LAST MODIFIED: RETURNS FALSE
394
394
\-------------------------------------------------------------------------------------------------------------------------*/
395
395
/// <summary>
396
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> that is <i>not</i> marked as
397
- /// <see cref="TrackedRecord{T}.IsDirty"/> as well as a <c>LastModified</c> <see cref="AttributeValue "/> that is. Confirms
396
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> that is <i>not</i> marked as
397
+ /// <see cref="TrackedRecord{T}.IsDirty"/> as well as a <c>LastModified</c> <see cref="AttributeRecord "/> that is. Confirms
398
398
/// that <see cref="AttributeValueCollection.IsDirty(Boolean)"/> returns <c>false</c>.
399
399
/// </summary>
400
400
[ TestMethod ]
@@ -414,7 +414,7 @@ public void IsDirty_ExcludeLastModified_ReturnsFalse() {
414
414
| TEST: IS DIRTY: MARK CLEAN: UPDATES LAST MODIFIED
415
415
\-------------------------------------------------------------------------------------------------------------------------*/
416
416
/// <summary>
417
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> and then deletes it. Confirms
417
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> and then deletes it. Confirms
418
418
/// that the <see cref="TrackedRecord{T}.LastModified"/> returns the new <c>version</c> after calling <see cref="
419
419
/// TrackedRecordCollection{TItem, TValue, TAttribute}.MarkClean(DateTime?)"/>.
420
420
/// </summary>
@@ -436,7 +436,7 @@ public void IsDirty_MarkClean_UpdatesLastModified() {
436
436
| TEST: IS DIRTY: MARK CLEAN: RETURNS FALSE
437
437
\-------------------------------------------------------------------------------------------------------------------------*/
438
438
/// <summary>
439
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> and then deletes it. Confirms
439
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> and then deletes it. Confirms
440
440
/// that <see cref="AttributeValueCollection.IsDirty(Boolean)"/> returns <c>false</c> after calling <see cref="
441
441
/// TrackedRecordCollection{TItem, TValue, TAttribute}.MarkClean(DateTime?)"/>.
442
442
/// </summary>
@@ -460,7 +460,7 @@ public void IsDirty_MarkClean_ReturnsFalse() {
460
460
| TEST: IS DIRTY: MARK ATTRIBUTE CLEAN: RETURNS FALSE
461
461
\-------------------------------------------------------------------------------------------------------------------------*/
462
462
/// <summary>
463
- /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeValue "/> and then confirms that <see
463
+ /// Populates the <see cref="AttributeValueCollection"/> with a <see cref="AttributeRecord "/> and then confirms that <see
464
464
/// cref="TrackedRecordCollection{TItem, TValue, TAttribute}.IsDirty(String)"/> returns <c>false</c> for that attribute
465
465
/// after calling <see cref="TrackedRecordCollection{TItem, TValue, TAttribute}.MarkClean(String, DateTime?)"/>.
466
466
/// </summary>
@@ -481,7 +481,7 @@ public void IsDirty_MarkAttributeClean_ReturnsFalse() {
481
481
\-------------------------------------------------------------------------------------------------------------------------*/
482
482
/// <summary>
483
483
/// Populates a <see cref="AttributeValueCollection"/> associated with an <see cref="Topic.IsNew"/> <see cref="Topic"/>
484
- /// with a <see cref="AttributeValue "/> that is not marked as <see cref="TrackedRecord{T}.IsDirty"/> and then confirms
484
+ /// with a <see cref="AttributeRecord "/> that is not marked as <see cref="TrackedRecord{T}.IsDirty"/> and then confirms
485
485
/// that <see cref="TrackedRecordCollection{TItem, TValue, TAttribute}.IsDirty()"/> returns <c>true</c>.
486
486
/// </summary>
487
487
[ TestMethod ]
@@ -506,7 +506,7 @@ public void IsDirty_AddCleanAttributeToNewTopic_ReturnsTrue() {
506
506
\-------------------------------------------------------------------------------------------------------------------------*/
507
507
/// <summary>
508
508
/// Populates a <see cref="AttributeValueCollection"/> associated with an <see cref="Topic.IsNew"/> <see cref="Topic"/>
509
- /// with a <see cref="AttributeValue "/> and then confirms that <see cref="TrackedRecordCollection{TItem, TValue,
509
+ /// with a <see cref="AttributeRecord "/> and then confirms that <see cref="TrackedRecordCollection{TItem, TValue,
510
510
/// TAttribute}.IsDirty(String)"/> returns <c>true</c> for that attribute after calling <see cref="TrackedRecordCollection
511
511
/// {TItem, TValue, TAttribute}.MarkClean(String, DateTime?)"/>.
512
512
/// </summary>
@@ -542,7 +542,7 @@ public void SetValue_InvalidValue_ThrowsException() {
542
542
| TEST: ADD: VALID ATTRIBUTE VALUE: IS RETURNED
543
543
\-------------------------------------------------------------------------------------------------------------------------*/
544
544
/// <summary>
545
- /// Sets a custom attribute on a topic by directly adding an <see cref="AttributeValue "/> instance; ensures it can be
545
+ /// Sets a custom attribute on a topic by directly adding an <see cref="AttributeRecord "/> instance; ensures it can be
546
546
/// retrieved.
547
547
/// </summary>
548
548
[ TestMethod ]
@@ -669,7 +669,7 @@ public void Add_InvalidAttributeValue_ThrowsException() {
669
669
| TEST: REPLACE VALUE: WITH BUSINESS LOGIC: MAINTAINS ISDIRTY
670
670
\-------------------------------------------------------------------------------------------------------------------------*/
671
671
/// <summary>
672
- /// Adds a new <see cref="AttributeValue "/> which maps to <see cref="Topic.Key"/> directly to a <see cref=
672
+ /// Adds a new <see cref="AttributeRecord "/> which maps to <see cref="Topic.Key"/> directly to a <see cref=
673
673
/// "AttributeValueCollection"/> and confirms that the original <see cref="TrackedRecord{T}.IsDirty"/> is replaced if the
674
674
/// <see cref="TrackedRecord{T}.Value"/> changes.
675
675
/// </summary>
@@ -683,7 +683,7 @@ public void Add_WithBusinessLogic_MaintainsIsDirty() {
683
683
684
684
var index = topic . Attributes . IndexOf ( originalValue ) ;
685
685
686
- topic . Attributes [ index ] = new AttributeValue ( "View" , "NewValue" , false ) ;
686
+ topic . Attributes [ index ] = new AttributeRecord ( "View" , "NewValue" , false ) ;
687
687
topic . Attributes . TryGetValue ( "View" , out var newAttribute ) ;
688
688
689
689
topic . Attributes . SetValue ( "View" , "NewerValue" , false ) ;
@@ -699,7 +699,7 @@ public void Add_WithBusinessLogic_MaintainsIsDirty() {
699
699
\-------------------------------------------------------------------------------------------------------------------------*/
700
700
/// <summary>
701
701
/// Adds a new attribute with an empty value, and confirms that it is <i>not</i> added as a new <see
702
- /// cref="AttributeValue "/>. Empty values are treated as the same as non-existent attributes. They are stored for the sake
702
+ /// cref="AttributeRecord "/>. Empty values are treated as the same as non-existent attributes. They are stored for the sake
703
703
/// of tracking <i>deleted</i> attributes, but should not be stored for <i>new</i> attributes.
704
704
/// </summary>
705
705
[ TestMethod ]
@@ -718,7 +718,7 @@ public void SetValue_EmptyAttributeValue_Skips() {
718
718
\-------------------------------------------------------------------------------------------------------------------------*/
719
719
/// <summary>
720
720
/// Adds a new attribute with an empty value, and confirms that it is <i>is</i> added as a new <see
721
- /// cref="AttributeValue "/> assuming the value previously existed. Empty values are treated as the same as non-existent
721
+ /// cref="AttributeRecord "/> assuming the value previously existed. Empty values are treated as the same as non-existent
722
722
/// attributes, but they should be stored for the sake of tracking <i>deleted</i> attributes.
723
723
/// </summary>
724
724
[ TestMethod ]
0 commit comments