2 instantiations of TestTagHelper
Microsoft.AspNetCore.Mvc.Razor.Test (2)
DefaultTagHelperFactoryTest.cs (2)
117
.Returns(new
TestTagHelper
());
149
activator.Setup(a => a.Create<TestTagHelper>(It.IsAny<ViewContext>())).Returns(new
TestTagHelper
());
15 references to TestTagHelper
Microsoft.AspNetCore.Mvc.Razor.Test (15)
DefaultTagHelperFactoryTest.cs (15)
28
builder.InitializeTagHelper<
TestTagHelper
>((h, vc) =>
41
var
helper = factory.CreateTagHelper<
TestTagHelper
>(viewContext);
55
builder.InitializeTagHelper<
TestTagHelper
>((h, _) => h.ViewContext = MakeViewContext(MakeHttpContext()));
61
var
helper = factory.CreateTagHelper<
TestTagHelper
>(viewContext);
73
builder.InitializeTagHelper<
TestTagHelper
>((h, vc) =>
78
builder.InitializeTagHelper<
TestTagHelper
>((h, vc) =>
88
var
helper = factory.CreateTagHelper<
TestTagHelper
>(viewContext);
101
builder.InitializeTagHelper<
TestTagHelper
>((h, vc) =>
116
.Setup(a => a.Create<
TestTagHelper
>(It.IsAny<ViewContext>()))
126
var
testTagHelper = factory.CreateTagHelper<
TestTagHelper
>(viewContext);
149
activator.Setup(a => a.Create<
TestTagHelper
>(It.IsAny<ViewContext>())).Returns(new TestTagHelper());