16 references to AllAttributes
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorPageTest.cs (5)
1003
var allAttribute = Assert.Single(context.
AllAttributes
);
1048
var allAttribute = Assert.Single(context.
AllAttributes
);
1094
var allAttribute = Assert.Single(context.
AllAttributes
);
1129
var attribute = Assert.Single(context.
AllAttributes
);
1162
var allAttribute = Assert.Single(context.
AllAttributes
);
Microsoft.AspNetCore.Mvc.TagHelpers (7)
AttributeMatcher.cs (1)
37
var allAttributes = context.
AllAttributes
;
FormTagHelper.cs (1)
258
!context.
AllAttributes
.ContainsName(AntiforgeryAttributeName))
TagHelperOutputExtensions.cs (5)
22
/// <see cref="TagHelperContext.
AllAttributes
"/> to <paramref name="tagHelperOutput"/>'s
35
/// Duplicate attributes same name in <paramref name="context"/>'s <see cref="TagHelperContext.
AllAttributes
"/>
54
for (var i = context.
AllAttributes
.Count - 1; i >= 0; i--)
60
context.
AllAttributes
[i].Name,
290
var allAttributes = context.
AllAttributes
;
Microsoft.AspNetCore.Razor.Runtime.Test (3)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (2)
182
var attribute = Assert.Single(context.
AllAttributes
);
545
context.
AllAttributes
,
Runtime\TagHelpers\TagHelperRunnerTest.cs (1)
241
output.Attributes.Add("foo", context.
AllAttributes
["foo"].Value.ToString());
Microsoft.AspNetCore.Razor.Test (1)
TagHelpers\TagHelperContextTest.cs (1)
40
Assert.Empty(context.
AllAttributes
);