|
6 | 6 | @if (Server.GetValueOrDefault()) |
7 | 7 | { |
8 | 8 | <strong>Server Persist State Component 1</strong> |
9 | | - <TestContentPackage.DeclarativePersistStateComponent @key=1 InitialValue="restored 1" KeyName="server-1" @rendermode="@RenderMode.InteractiveServer" /> |
| 9 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=1 InitialValue="restored 1" KeyName="server-1" @rendermode="@RenderMode.InteractiveServer" /> |
10 | 10 | <hr /> |
11 | 11 | <strong>Server Persist State Component 2</strong> |
12 | | - <TestContentPackage.DeclarativePersistStateComponent @key=2 InitialValue="restored 2" KeyName="server-2" @rendermode="@RenderMode.InteractiveServer" /> |
| 12 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=2 InitialValue="restored 2" KeyName="server-2" @rendermode="@RenderMode.InteractiveServer" /> |
13 | 13 | <hr /> |
14 | 14 | } |
15 | 15 |
|
16 | 16 | @if (WebAssembly.GetValueOrDefault()) |
17 | 17 | { |
18 | 18 | <strong>WebAssembly Persist State Component 1</strong> |
19 | | - <TestContentPackage.DeclarativePersistStateComponent @key=1 InitialValue="restored 1" KeyName="wasm-1" @rendermode="@RenderMode.InteractiveWebAssembly" /> |
| 19 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=1 InitialValue="restored 1" KeyName="wasm-1" @rendermode="@RenderMode.InteractiveWebAssembly" /> |
20 | 20 | <hr /> |
21 | 21 | <strong>WebAssembly Persist State Component 2</strong> |
22 | | - <TestContentPackage.DeclarativePersistStateComponent @key=2 InitialValue="restored 2" KeyName="wasm-2" @rendermode="@RenderMode.InteractiveWebAssembly" /> |
| 22 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=2 InitialValue="restored 2" KeyName="wasm-2" @rendermode="@RenderMode.InteractiveWebAssembly" /> |
23 | 23 | <hr /> |
24 | 24 | } |
25 | 25 |
|
26 | 26 | @if (Auto.GetValueOrDefault()) |
27 | 27 | { |
28 | 28 | <strong>Auto Persist State Component 1</strong> |
29 | | - <TestContentPackage.DeclarativePersistStateComponent @key=1 InitialValue="restored 1" KeyName="auto-1" @rendermode="@RenderMode.InteractiveAuto" /> |
| 29 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=1 InitialValue="restored 1" KeyName="auto-1" @rendermode="@RenderMode.InteractiveAuto" /> |
30 | 30 | <hr /> |
31 | 31 | <strong>Auto Persist State Component 2</strong> |
32 | | - <TestContentPackage.DeclarativePersistStateComponent @key=2 InitialValue="restored 2" KeyName="auto-2" @rendermode="@RenderMode.InteractiveAuto" /> |
| 32 | + <TestContentPackage.DeclarativePersistStateComponentWrapper KeyDirective=2 InitialValue="restored 2" KeyName="auto-2" @rendermode="@RenderMode.InteractiveAuto" /> |
33 | 33 | <hr /> |
34 | 34 | } |
35 | 35 |
|
|
0 commit comments