Update Blazor @key example (#22646)

pull/22647/head
Luke Latham 2021-07-02 11:44:59 -05:00 committed by GitHub
parent ac614678f9
commit 8a4a9f0682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 33 deletions

View File

@ -1,15 +1,11 @@
@page "/people"
@page "/people"
@using System.Timers
@implements IDisposable
<ol>
@foreach (var person in people)
{
<li>
<Details Data="@person.Data" />
</li>
}
</ol>
@foreach (var person in people)
{
<Details Data="@person.Data" />
}
@code {
private Timer timer = new Timer(3000);

View File

@ -2,14 +2,10 @@
@using System.Timers
@implements IDisposable
<ol>
@foreach (var person in people)
{
<li>
<Details Data="@person.Data" />
</li>
}
</ol>
@foreach (var person in people)
{
<Details Data="@person.Data" />
}
@code {
private Timer timer = new Timer(3000);

View File

@ -2,14 +2,10 @@
@using System.Timers
@implements IDisposable
<ol>
@foreach (var person in people)
{
<li>
<Details Data="@person.Data" />
</li>
}
</ol>
@foreach (var person in people)
{
<Details Data="@person.Data" />
}
@code {
private Timer timer = new Timer(3000);

View File

@ -2,14 +2,10 @@
@using System.Timers
@implements IDisposable
<ol>
@foreach (var person in people)
{
<li>
<Details Data="@person.Data" />
</li>
}
</ol>
@foreach (var person in people)
{
<Details Data="@person.Data" />
}
@code {
private Timer timer = new Timer(3000);