@@ -1358,7 +1358,7 @@ await RunFormattingTestAsync(
13581358
13591359 Welcome to your new app.
13601360
1361- <SurveyPrompt Title="How is Blazor working for you?" />
1361+ <PageTitle Title="How is Blazor working for you?" />
13621362
13631363 <div class="FF"
13641364 id="ERT">
@@ -1411,7 +1411,7 @@ void Method() { }
14111411
14121412 Welcome to your new app.
14131413
1414- <SurveyPrompt Title="How is Blazor working for you?" />
1414+ <PageTitle Title="How is Blazor working for you?" />
14151415
14161416 <div class="FF"
14171417 id="ERT">
@@ -1820,7 +1820,7 @@ await RunFormattingTestAsync(
18201820 public async Task FormatRenderFragmentInCSharpCodeBlock1 ( )
18211821 {
18221822 // Sadly the first thing the HTML formatter does with this input
1823- // is put a newline after the @, which means <SurveyPrompt /> won't be
1823+ // is put a newline after the @, which means <PageTitle /> won't be
18241824 // seen as a component any more, so we have to turn off our validation,
18251825 // or the test fails before we have a chance to fix the formatting.
18261826 FormattingContext . SkipValidateComponents = true ;
@@ -1832,9 +1832,9 @@ await RunFormattingTestAsync(
18321832 public void DoStuff(RenderFragment renderFragment)
18331833 {
18341834 DoThings();
1835- renderFragment(@<SurveyPrompt Title="Foo" />);
1835+ renderFragment(@<PageTitle Title="Foo" />);
18361836 DoThings();
1837- renderFragment(@<SurveyPrompt Title="Foo" />);
1837+ renderFragment(@<PageTitle Title="Foo" />);
18381838
18391839 @* comment *@
18401840 <div></div>
@@ -1849,9 +1849,9 @@ public void DoStuff(RenderFragment renderFragment)
18491849 public void DoStuff(RenderFragment renderFragment)
18501850 {
18511851 DoThings();
1852- renderFragment(@<SurveyPrompt Title="Foo" />);
1852+ renderFragment(@<PageTitle Title="Foo" />);
18531853 DoThings();
1854- renderFragment(@<SurveyPrompt Title="Foo" />);
1854+ renderFragment(@<PageTitle Title="Foo" />);
18551855
18561856 @* comment *@
18571857 <div></div>
@@ -1868,7 +1868,7 @@ public void DoStuff(RenderFragment renderFragment)
18681868 public async Task FormatRenderFragmentInCSharpCodeBlock2 ( )
18691869 {
18701870 // Sadly the first thing the HTML formatter does with this input
1871- // is put a newline after the @, which means <SurveyPrompt /> won't be
1871+ // is put a newline after the @, which means <PageTitle /> won't be
18721872 // seen as a component any more, so we have to turn off our validation,
18731873 // or the test fails before we have a chance to fix the formatting.
18741874 FormattingContext . SkipValidateComponents = true ;
@@ -1877,7 +1877,7 @@ await RunFormattingTestAsync(
18771877 input : """
18781878 <div>
18791879 @{
1880- renderFragment(@<SurveyPrompt Title="Foo" />);
1880+ renderFragment(@<PageTitle Title="Foo" />);
18811881
18821882 @* comment *@
18831883 <div></div>
@@ -1889,7 +1889,7 @@ await RunFormattingTestAsync(
18891889 expected : """
18901890 <div>
18911891 @{
1892- renderFragment(@<SurveyPrompt Title="Foo" />);
1892+ renderFragment(@<PageTitle Title="Foo" />);
18931893
18941894 @* comment *@
18951895 <div></div>
@@ -1906,7 +1906,7 @@ await RunFormattingTestAsync(
19061906 public async Task FormatRenderFragmentInCSharpCodeBlock3 ( )
19071907 {
19081908 // Sadly the first thing the HTML formatter does with this input
1909- // is put a newline after the @, which means <SurveyPrompt /> won't be
1909+ // is put a newline after the @, which means <PageTitle /> won't be
19101910 // seen as a component any more, so we have to turn off our validation,
19111911 // or the test fails before we have a chance to fix the formatting.
19121912 FormattingContext . SkipValidateComponents = true ;
@@ -1915,7 +1915,7 @@ await RunFormattingTestAsync(
19151915 input : """
19161916 <div>
19171917 @{
1918- renderFragment (@<SurveyPrompt Title= "Foo" />);
1918+ renderFragment (@<PageTitle Title= "Foo" />);
19191919
19201920 @* comment *@
19211921 <div></div>
@@ -1927,7 +1927,7 @@ await RunFormattingTestAsync(
19271927 expected : """
19281928 <div>
19291929 @{
1930- renderFragment(@<SurveyPrompt Title="Foo" />);
1930+ renderFragment(@<PageTitle Title="Foo" />);
19311931
19321932 @* comment *@
19331933 <div></div>
@@ -2050,12 +2050,12 @@ await RunFormattingTestAsync(
20502050 {
20512051 <CascadingValue Value="Variable1">
20522052 <CascadingValue Value="Variable2">
2053- <SurveyPrompt />
2053+ <PageTitle />
20542054 @if (VarBool)
20552055 {
20562056 <div class="mb-16">
2057- <SurveyPrompt />
2058- <SurveyPrompt />
2057+ <PageTitle />
2058+ <PageTitle />
20592059 </div>
20602060 }
20612061 </CascadingValue>
@@ -2077,12 +2077,12 @@ await RunFormattingTestAsync(
20772077 {
20782078 <CascadingValue Value="Variable1">
20792079 <CascadingValue Value="Variable2">
2080- <SurveyPrompt />
2080+ <PageTitle />
20812081 @if (VarBool)
20822082 {
20832083 <div class="mb-16">
2084- <SurveyPrompt />
2085- <SurveyPrompt />
2084+ <PageTitle />
2085+ <PageTitle />
20862086 </div>
20872087 }
20882088 </CascadingValue>
@@ -2111,12 +2111,12 @@ await RunFormattingTestAsync(
21112111 @if (Object1!= null)
21122112 {
21132113 <CascadingValue Value="Variable1">
2114- <SurveyPrompt />
2114+ <PageTitle />
21152115 @if (VarBool)
21162116 {
21172117 <div class="mb-16">
2118- <SurveyPrompt />
2119- <SurveyPrompt />
2118+ <PageTitle />
2119+ <PageTitle />
21202120 </div>
21212121 }
21222122 </CascadingValue>
@@ -2136,12 +2136,12 @@ await RunFormattingTestAsync(
21362136 @if (Object1 != null)
21372137 {
21382138 <CascadingValue Value="Variable1">
2139- <SurveyPrompt />
2139+ <PageTitle />
21402140 @if (VarBool)
21412141 {
21422142 <div class="mb-16">
2143- <SurveyPrompt />
2144- <SurveyPrompt />
2143+ <PageTitle />
2144+ <PageTitle />
21452145 </div>
21462146 }
21472147 </CascadingValue>
@@ -2170,12 +2170,12 @@ await RunFormattingTestAsync(
21702170 {
21712171 @if (VarBool)
21722172 {
2173- <SurveyPrompt />
2173+ <PageTitle />
21742174 @if (VarBool)
21752175 {
21762176 <div class="mb-16">
2177- <SurveyPrompt />
2178- <SurveyPrompt />
2177+ <PageTitle />
2178+ <PageTitle />
21792179 </div>
21802180 }
21812181 }
@@ -2196,12 +2196,12 @@ await RunFormattingTestAsync(
21962196 {
21972197 @if (VarBool)
21982198 {
2199- <SurveyPrompt />
2199+ <PageTitle />
22002200 @if (VarBool)
22012201 {
22022202 <div class="mb-16">
2203- <SurveyPrompt />
2204- <SurveyPrompt />
2203+ <PageTitle />
2204+ <PageTitle />
22052205 </div>
22062206 }
22072207 }
@@ -2227,12 +2227,12 @@ await RunFormattingTestAsync(
22272227 @using Microsoft.AspNetCore.Components.Forms;
22282228
22292229 <CascadingValue Value="Variable1">
2230- <SurveyPrompt />
2230+ <PageTitle />
22312231 @if (VarBool)
22322232 {
22332233 <div class="mb-16">
2234- <SurveyPrompt />
2235- <SurveyPrompt />
2234+ <PageTitle />
2235+ <PageTitle />
22362236 </div>
22372237 }
22382238 </CascadingValue>
@@ -2249,12 +2249,12 @@ await RunFormattingTestAsync(
22492249 @using Microsoft.AspNetCore.Components.Forms;
22502250
22512251 <CascadingValue Value="Variable1">
2252- <SurveyPrompt />
2252+ <PageTitle />
22532253 @if (VarBool)
22542254 {
22552255 <div class="mb-16">
2256- <SurveyPrompt />
2257- <SurveyPrompt />
2256+ <PageTitle />
2257+ <PageTitle />
22582258 </div>
22592259 }
22602260 </CascadingValue>
@@ -2281,12 +2281,12 @@ await RunFormattingTestAsync(
22812281 @if (Object1!= null)
22822282 {
22832283 <PageTitle>
2284- <SurveyPrompt />
2284+ <PageTitle />
22852285 @if (VarBool)
22862286 {
22872287 <div class="mb-16">
2288- <SurveyPrompt />
2289- <SurveyPrompt />
2288+ <PageTitle />
2289+ <PageTitle />
22902290 </div>
22912291 }
22922292 </PageTitle>
@@ -2306,12 +2306,12 @@ await RunFormattingTestAsync(
23062306 @if (Object1 != null)
23072307 {
23082308 <PageTitle>
2309- <SurveyPrompt />
2309+ <PageTitle />
23102310 @if (VarBool)
23112311 {
23122312 <div class="mb-16">
2313- <SurveyPrompt />
2314- <SurveyPrompt />
2313+ <PageTitle />
2314+ <PageTitle />
23152315 </div>
23162316 }
23172317 </PageTitle>
@@ -2340,12 +2340,12 @@ await RunFormattingTestAsync(
23402340 {
23412341 <CascadingValue Value="Variable1">
23422342 <div>
2343- <SurveyPrompt />
2343+ <PageTitle />
23442344 @if (VarBool)
23452345 {
23462346 <div class="mb-16">
2347- <SurveyPrompt />
2348- <SurveyPrompt />
2347+ <PageTitle />
2348+ <PageTitle />
23492349 </div>
23502350 }
23512351 </div>
@@ -2367,12 +2367,12 @@ await RunFormattingTestAsync(
23672367 {
23682368 <CascadingValue Value="Variable1">
23692369 <div>
2370- <SurveyPrompt />
2370+ <PageTitle />
23712371 @if (VarBool)
23722372 {
23732373 <div class="mb-16">
2374- <SurveyPrompt />
2375- <SurveyPrompt />
2374+ <PageTitle />
2375+ <PageTitle />
23762376 </div>
23772377 }
23782378 </div>
@@ -4463,12 +4463,12 @@ await RunFormattingTestAsync(
44634463
44644464 protected override async Task OnInitializedAsync()
44654465 {
4466- <Counter >
4466+ <PageTitle >
44674467 @{
44684468 var t = DateTime.Now;
44694469 t.ToString();
44704470 }
4471- </Counter >
4471+ </PageTitle >
44724472 forecasts = await ForecastService.GetForecastAsync(DateTime.Now);
44734473 }
44744474 }
@@ -4479,12 +4479,12 @@ protected override async Task OnInitializedAsync()
44794479
44804480 protected override async Task OnInitializedAsync()
44814481 {
4482- <Counter >
4482+ <PageTitle >
44834483 @{
44844484 var t = DateTime.Now;
44854485 t.ToString();
44864486 }
4487- </Counter >
4487+ </PageTitle >
44884488 forecasts = await ForecastService.GetForecastAsync(DateTime.Now);
44894489 }
44904490 }
0 commit comments