6 references to Create
Microsoft.AspNetCore.Razor.Language.UnitTests (4)
Intermediate\LazyContentTests.cs (4)
16Assert.Throws<ArgumentNullException>(() => LazyContent.Create("x", null!)); 24var lazy = LazyContent.Create(args, static arg => (arg.x + arg.y).ToString()); 41var lazy = LazyContent.Create(text, arg => 64var lazy = LazyContent.Create("thread", arg =>
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Intermediate\IntermediateNodeFactory.cs (2)
14=> new(LazyContent.Create(arg, contentFactory), source); 20=> new(LazyContent.Create(arg, contentFactory), source);