21 references to AsDictionaryAttribute
Microsoft.AspNetCore.Mvc.Razor.Extensions.UnitTests (3)
ViewComponentTagHelperDescriptorFactoryTest.cs (1)
123
.
AsDictionaryAttribute
("bar-", typeof(int).FullName)
ViewComponentTagHelperPassTest.cs (1)
109
.
AsDictionaryAttribute
("foo-", "System.Int32"))
ViewComponentTagHelperTargetExtensionTest.cs (1)
80
.
AsDictionaryAttribute
("foo-", "System.Int32"))
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (4)
Legacy\TagHelperBlockRewriterTest.cs (4)
1281
.
AsDictionaryAttribute
("int-prefix-", typeof(int).FullName))
1286
.
AsDictionaryAttribute
("string-prefix-", typeof(string).FullName))
2193
.
AsDictionaryAttribute
("@bind-", typeof(object).FullName)
2237
.
AsDictionaryAttribute
("@bind-", typeof(object).FullName)
Microsoft.AspNetCore.Razor.Language.UnitTests (13)
Extensions\PreallocatedAttributeTargetExtensionTest.cs (2)
186
.
AsDictionaryAttribute
("pre-", "System.String")
240
.
AsDictionaryAttribute
("pre-", "System.String")
IntegrationTests\TestTagHelperDescriptors.cs (6)
57
.
AsDictionaryAttribute
("tuple-prefix-", typeof((bool, string)).FullName)
323
.
AsDictionaryAttribute
("booldict-prefix-", typeof(bool).FullName),
467
.
AsDictionaryAttribute
("int-prefix-", typeof(int).FullName),
476
.
AsDictionaryAttribute
("string-prefix-", typeof(string).FullName),
488
.
AsDictionaryAttribute
("int-prefix-", typeof(int).FullName),
493
.
AsDictionaryAttribute
("string-prefix-", typeof(string).FullName),
Legacy\TagHelperBlockRewriterTest.cs (5)
657
.
AsDictionaryAttribute
("tuple-prefix-", typeof((bool, string)).FullName))
1580
.
AsDictionaryAttribute
("int-prefix-", typeof(int).FullName))
1585
.
AsDictionaryAttribute
("string-prefix-", typeof(string).FullName))
2492
.
AsDictionaryAttribute
("@bind-", typeof(object).FullName)
2536
.
AsDictionaryAttribute
("@bind-", typeof(object).FullName)
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\TestBoundAttributeDescriptorBuilderExtensions.cs (1)
131
=> builder.
AsDictionaryAttribute
(attributeNamePrefix, valueType.FullName);