9 instantiations of StreamRenderingAttribute
Microsoft.AspNetCore.Components.Endpoints.Tests (7)
TestComponents_DisableStreaming_razor.g.cs (1)
16
[
StreamRendering
(false)]
TestComponents_DoubleRenderingStreamingAsyncComponent_razor.g.cs (1)
16
[
StreamRendering
]
TestComponents_EnableStreaming_razor.g.cs (1)
16
[
StreamRendering
]
TestComponents_StreamingAsyncLoadingComponent_razor.g.cs (1)
16
[
StreamRendering
]
TestComponents_StreamingComponentThatRedirectsAsynchronously_razor.g.cs (1)
16
[
StreamRendering
]
TestComponents_StreamingComponentThatThrowsAsynchronously_razor.g.cs (1)
16
[
StreamRendering
]
TestComponents_StreamingComponentWithChild_razor.g.cs (1)
16
[
StreamRendering
]
MyFrontend (1)
Components_Pages_Home_razor.g.cs (1)
94
[
StreamRendering
(true)]
WebFrontEnd (1)
Components_Pages_ExternalServices_razor.g.cs (1)
88
[
StreamRendering
]
4 references to StreamRenderingAttribute
Microsoft.AspNetCore.Components (1)
StreamRenderingAttribute.cs (1)
19
/// Constructs an instance of <see cref="
StreamRenderingAttribute
"/>
Microsoft.AspNetCore.Components.Endpoints (3)
Rendering\EndpointComponentState.cs (3)
18
private static readonly ConcurrentDictionary<Type,
StreamRenderingAttribute
?> _streamRenderingAttributeByComponentType = new();
34
var
streamRenderingAttribute = _streamRenderingAttributeByComponentType.GetOrAdd(component.GetType(),
35
type => type.GetCustomAttribute<
StreamRenderingAttribute
>());