diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs index 816ebce022..f9034d0e60 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/AnchorTagHelperTest.cs @@ -32,6 +32,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { "asp-host", "contoso.com" }, { "asp-protocol", "http" } }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something Else")); var output = new TagHelperOutput( @@ -82,6 +83,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers // Arrange var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( @@ -120,14 +122,15 @@ namespace Microsoft.AspNet.Mvc.TagHelpers // Arrange var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( "a", attributes: new Dictionary()) - { - Content = string.Empty - }; + { + Content = string.Empty + }; var generator = new Mock(); generator diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/CacheTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/CacheTagHelperTest.cs index 8b91ecac88..5f142effdb 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/CacheTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/CacheTagHelperTest.cs @@ -702,18 +702,20 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedContent = "some-content"; var tokenSource = new CancellationTokenSource(); var cache = new MemoryCache(new MemoryCacheOptions()); - var tagHelperContext = new TagHelperContext(new Dictionary(), - id, - () => - { - var entryLink = EntryLinkHelpers.ContextLink; - Assert.NotNull(entryLink); - entryLink.AddExpirationTriggers(new[] - { - new CancellationTokenTrigger(tokenSource.Token) - }); - return Task.FromResult(expectedContent); - }); + var tagHelperContext = new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: id, + getChildContentAsync: () => + { + var entryLink = EntryLinkHelpers.ContextLink; + Assert.NotNull(entryLink); + entryLink.AddExpirationTriggers(new[] + { + new CancellationTokenTrigger(tokenSource.Token) + }); + return Task.FromResult(expectedContent); + }); var tagHelperOutput = new TagHelperOutput("cache", new Dictionary()) { PreContent = "", @@ -757,9 +759,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers private static TagHelperContext GetTagHelperContext(string id = "testid", string childContent = "some child content") { - return new TagHelperContext(new Dictionary(), - id, - () => Task.FromResult(childContent)); + return new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: id, + getChildContentAsync: () => Task.FromResult(childContent)); } private static string GetHashedBytes(string input) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs index 455928c5c7..3082cf0113 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/EnvironmentTagHelperTest.cs @@ -134,13 +134,17 @@ namespace Microsoft.AspNet.Mvc.TagHelpers.Test { attributes = attributes ?? new Dictionary(); - return new TagHelperContext(attributes, Guid.NewGuid().ToString("N"), () => Task.FromResult(content)); + return new TagHelperContext( + attributes, + items: new Dictionary(), + uniqueId: Guid.NewGuid().ToString("N"), + getChildContentAsync: () => Task.FromResult(content)); } private TagHelperOutput MakeTagHelperOutput(string tagName, IDictionary attributes = null) { attributes = attributes ?? new Dictionary(); - + return new TagHelperOutput(tagName, attributes); } } diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/FormTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/FormTagHelperTest.cs index 61fdba839d..e85d04a66e 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/FormTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/FormTagHelperTest.cs @@ -33,6 +33,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { "method", "post" }, { "asp-anti-forgery", true } }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something Else")); var output = new TagHelperOutput( @@ -92,6 +93,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var viewContext = CreateViewContext(); var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( @@ -137,6 +139,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var testViewContext = CreateViewContext(); var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var expectedAttribute = new KeyValuePair("asp-ROUTEE-NotRoute", "something"); @@ -202,6 +205,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var viewContext = CreateViewContext(); var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( @@ -256,6 +260,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { { "METhod", "POST" } }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); @@ -302,6 +307,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers }); var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/InputTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/InputTagHelperTest.cs index 0bcfb411a4..18a0bd9733 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/InputTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/InputTagHelperTest.cs @@ -94,9 +94,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var expectedTagName = "not-input"; - var context = new TagHelperContext(allAttributes: new Dictionary(), - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -148,9 +150,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedContent = originalContent + ""; var expectedPostContent = "original post-content"; - var context = new TagHelperContext(allAttributes: new Dictionary(), - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -237,9 +241,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var expectedTagName = "not-input"; - var context = new TagHelperContext(allAttributes: contextAttributes, - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: contextAttributes, + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -323,9 +329,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var expectedTagName = "not-input"; - var context = new TagHelperContext(allAttributes: contextAttributes, - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: contextAttributes, + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -406,9 +414,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var expectedTagName = "not-input"; - var context = new TagHelperContext(allAttributes: contextAttributes, - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: contextAttributes, + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -504,9 +514,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var expectedTagName = "not-input"; - var context = new TagHelperContext(allAttributes: contextAttributes, - uniqueId: "test", - getChildContentAsync: () => Task.FromResult("Something")); + var context = new TagHelperContext( + allAttributes: contextAttributes, + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult("Something")); var originalAttributes = new Dictionary { { "class", "form-control" }, @@ -573,6 +585,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, expectedAttributes) @@ -628,6 +641,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, originalAttributes); diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs index 964e820464..054a51446e 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/Internal/AttributeMatcherTest.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers.Internal public void DetermineMode_FindsFullModeMatchWithSingleAttribute() { // Arrange - var modeInfo = new [] + var modeInfo = new[] { ModeAttributes.Create("mode0", new [] { "first-attr" }) }; @@ -124,7 +124,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers.Internal { attributes = attributes ?? new Dictionary(); - return new TagHelperContext(attributes, Guid.NewGuid().ToString("N"), () => Task.FromResult(content)); + return new TagHelperContext( + attributes, + items: new Dictionary(), + uniqueId: Guid.NewGuid().ToString("N"), + getChildContentAsync: () => Task.FromResult(content)); } } } \ No newline at end of file diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LabelTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LabelTagHelperTest.cs index b3b0accf7f..9725486e43 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LabelTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LabelTagHelperTest.cs @@ -183,6 +183,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult(tagHelperOutputContent.OriginalChildContent)); var htmlAttributes = new Dictionary @@ -242,6 +243,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, expectedAttributes) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LinkTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LinkTagHelperTest.cs index 76d481bd0f..eb405d9dd5 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LinkTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/LinkTagHelperTest.cs @@ -337,7 +337,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { attributes = attributes ?? new Dictionary(); - return new TagHelperContext(attributes, Guid.NewGuid().ToString("N"), () => Task.FromResult(content)); + return new TagHelperContext( + attributes, + items: new Dictionary(), + uniqueId: Guid.NewGuid().ToString("N"), + getChildContentAsync: () => Task.FromResult(content)); } private static TagHelperOutput MakeTagHelperOutput(string tagName, IDictionary attributes = null) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/OptionTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/OptionTagHelperTest.cs index d5089f4024..ce1883f77b 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/OptionTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/OptionTagHelperTest.cs @@ -138,6 +138,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers }; var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult(originalContent)); var output = new TagHelperOutput(expectedTagName, originalAttributes) @@ -196,6 +197,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var originalPostContent = "original post-content"; var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult(originalContent)); var output = new TagHelperOutput(originalTagName, originalAttributes) @@ -251,6 +253,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var originalPostContent = "original post-content"; var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult(originalContent)); var output = new TagHelperOutput(originalTagName, originalAttributes) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs index 1a4db7a6a8..c8f4b5e0d5 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ScriptTagHelperTest.cs @@ -244,7 +244,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { attributes = attributes ?? new Dictionary(); - return new TagHelperContext(attributes, Guid.NewGuid().ToString("N"), () => Task.FromResult(content)); + return new TagHelperContext( + attributes, + items: new Dictionary(), + uniqueId: Guid.NewGuid().ToString("N"), + getChildContentAsync: () => Task.FromResult(content)); } private TagHelperOutput MakeTagHelperOutput(string tagName, IDictionary attributes = null) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/SelectTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/SelectTagHelperTest.cs index a2e61fe384..4400888793 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/SelectTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/SelectTagHelperTest.cs @@ -196,6 +196,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, originalAttributes) @@ -276,6 +277,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, originalAttributes) @@ -358,6 +360,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, originalAttributes); @@ -423,6 +426,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(tagName, originalAttributes); @@ -478,6 +482,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( contextAttributes, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, originalAttributes); diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs index cc7ad9fa4b..ef2ab072fc 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TagHelperOutputExtensionsTest.cs @@ -26,6 +26,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { { attributeName, attributeValue } }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var expectedAttribute = new KeyValuePair(attributeName, attributeValue); @@ -55,6 +56,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { { attributeName, "world" } }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs index d026563165..581e5a2676 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/TextAreaTagHelperTest.cs @@ -109,6 +109,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var htmlAttributes = new Dictionary @@ -165,6 +166,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(expectedTagName, expectedAttributes) diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs index 29bfa1b599..6b9532ffaa 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationMessageTagHelperTest.cs @@ -38,6 +38,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers { "id", "myvalidationmessage" }, { "for", modelExpression }, }, + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( @@ -90,6 +91,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedPostContent = "original post-content"; var context = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput( @@ -140,9 +142,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers Content = outputContent }; - var context = new TagHelperContext(allAttributes: new Dictionary(), - uniqueId: "test", - getChildContentAsync: () => Task.FromResult(childContent)); + var context = new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult(childContent)); var tagBuilder = new TagBuilder("span2") { InnerHtml = "New HTML" @@ -191,9 +195,11 @@ namespace Microsoft.AspNet.Mvc.TagHelpers "span", attributes: new Dictionary()); - var context = new TagHelperContext(allAttributes: new Dictionary(), - uniqueId: "test", - getChildContentAsync: () => Task.FromResult(childContent)); + var context = new TagHelperContext( + allAttributes: new Dictionary(), + items: new Dictionary(), + uniqueId: "test", + getChildContentAsync: () => Task.FromResult(childContent)); var tagBuilder = new TagBuilder("span2") { InnerHtml = "New HTML" diff --git a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs index 5cfeddef10..fe361c1866 100644 --- a/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs +++ b/test/Microsoft.AspNet.Mvc.TagHelpers.Test/ValidationSummaryTagHelperTest.cs @@ -44,6 +44,7 @@ namespace Microsoft.AspNet.Mvc.TagHelpers var expectedContent = "original content"; var tagHelperContext = new TagHelperContext( allAttributes: new Dictionary(), + items: new Dictionary(), uniqueId: "test", getChildContentAsync: () => Task.FromResult("Something")); var output = new TagHelperOutput(