diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/AttributeDictionary.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/AttributeDictionary.cs index 49ea1d5e..fd06a0ce 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/AttributeDictionary.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/AttributeDictionary.cs @@ -151,7 +151,7 @@ public void AddRange(string jsonString) public void AddRange(string jsonString, bool throwIfReservedKey) { var items = this.jsonToDictionaryDeserializer.Deserialize(jsonString); - this.AddRange(items); + this.AddRange(items, throwIfReservedKey); } /// diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/RouteValueDictionary.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/RouteValueDictionary.cs index 9e9c136e..d3fa20a2 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/RouteValueDictionary.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/Collections/Specialized/RouteValueDictionary.cs @@ -146,7 +146,7 @@ public void AddRange(string jsonString) public void AddRange(string jsonString, bool throwIfReservedKey) { var items = this.jsonToDictionaryDeserializer.Deserialize(jsonString); - this.AddRange(items); + this.AddRange(items, throwIfReservedKey); } /// diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/IMvcSiteMapNodeAttribute.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/IMvcSiteMapNodeAttribute.cs index 603edb39..cd39324e 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/IMvcSiteMapNodeAttribute.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/IMvcSiteMapNodeAttribute.cs @@ -191,6 +191,9 @@ public interface IMvcSiteMapNodeAttribute /// string Route { get; set; } + // TODO: In version 5, RouteValues should be a separate property so the values can be controlled separately, + // similar to how the DynamicNode values are set. + /// /// Gets or sets the preserved route parameter names (= values that will be used from the current request route). ///