Skip to content

Commit 23ab5cd

Browse files
committed
Removed Attributes setter
There shouldn't be a scenario where it makes sense to set the `Attributes` property to an entirely new `AttributeValueCollection`. To prevent this scenario, removing this setter.
1 parent 6d4a9a0 commit 23ab5cd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Ignia.Topics/Topic.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -524,11 +524,6 @@ public AttributeValueCollection Attributes {
524524
}
525525
return _attributes;
526526
}
527-
internal set {
528-
Contract.Requires<ArgumentNullException>(value != null, "A topic's AttributeValue collection cannot be null.");
529-
_attributes = value;
530-
}
531-
}
532527

533528
/*==========================================================================================================================
534529
| PROPERTY: RELATIONSHIPS

0 commit comments

Comments
 (0)