1 type derived from LazyContent
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Intermediate\LazyContent.cs (1)
25
private sealed class LazyContentImpl<T>(T arg, Func<T, string> contentFactory) :
LazyContent
7 references to LazyContent
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Intermediate\CSharpIntermediateToken.cs (1)
13
internal CSharpIntermediateToken(
LazyContent
content, SourceSpan? source)
Language\Intermediate\HtmlIntermediateToken.cs (1)
13
internal HtmlIntermediateToken(
LazyContent
content, SourceSpan? source)
Language\Intermediate\IntermediateNodeFactory.cs (2)
14
=> new(
LazyContent
.Create(arg, contentFactory), source);
20
=> new(
LazyContent
.Create(arg, contentFactory), source);
Language\Intermediate\IntermediateToken.cs (2)
13
=> _content is
LazyContent
lazy ? lazy.Value : (string)_content;
28
private protected IntermediateToken(
LazyContent
content, SourceSpan? source)
Language\Intermediate\LazyContent.cs (1)
18
public static
LazyContent
Create<T>(T arg, Func<T, string> contentFactory)