We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1104e7a commit c813c64Copy full SHA for c813c64
src/BootstrapBlazor.Server/Components/Samples/Locators.razor.cs
@@ -42,11 +42,11 @@ protected override void OnInitialized()
42
{
43
base.OnInitialized();
44
45
- _providers = IpLocatorProviders.Select(provider => new SelectedItem
+ _providers = [.. IpLocatorProviders.Select(provider => new SelectedItem
46
47
Text = provider.GetType().Name,
48
Value = provider.GetType().Name
49
- }).ToList();
+ })];
50
}
51
52
/// <summary>
0 commit comments