diff --git a/samples/Blazor.ExampleConsumer/App.razor b/samples/Blazor.ExampleConsumer/App.razor
index 623580d..6fd3ed1 100644
--- a/samples/Blazor.ExampleConsumer/App.razor
+++ b/samples/Blazor.ExampleConsumer/App.razor
@@ -1,12 +1,12 @@
-
-
-
-
-
-
- Not found
-
- Sorry, there's nothing at this address.
-
-
-
+
+
+
+
+
+
+ Not found
+
+ Sorry, there's nothing at this address.
+
+
+
diff --git a/samples/Blazor.ExampleConsumer/Components/BingMap.razor b/samples/Blazor.ExampleConsumer/Components/BingMap.razor
index 86c486a..6f6065e 100644
--- a/samples/Blazor.ExampleConsumer/Components/BingMap.razor
+++ b/samples/Blazor.ExampleConsumer/Components/BingMap.razor
@@ -1,19 +1,19 @@
-@inject IJSInProcessRuntime JavaScript
-
-
-
-@code {
+@inject IJSInProcessRuntime JavaScript
+
+
+
+@code {
[Parameter, EditorRequired]
- public GeolocationPosition Position { get; set; } = null!;
-
- protected override void OnParametersSet()
- {
- if (Position is null or { Coords: null })
- {
- return;
- }
-
- JavaScript.InvokeVoid(
- "app.loadMap", "map", Position.Coords.Latitude, Position.Coords.Longitude);
- }
-}
+ public GeolocationPosition Position { get; set; } = null!;
+
+ protected override void OnParametersSet()
+ {
+ if (Position is null or { Coords: null })
+ {
+ return;
+ }
+
+ JavaScript.InvokeVoid(
+ "app.loadMap", "map", Position.Coords.Latitude, Position.Coords.Longitude);
+ }
+}
diff --git a/samples/Blazor.ExampleConsumer/Components/Code.razor b/samples/Blazor.ExampleConsumer/Components/Code.razor
index 2978cf8..94234c2 100644
--- a/samples/Blazor.ExampleConsumer/Components/Code.razor
+++ b/samples/Blazor.ExampleConsumer/Components/Code.razor
@@ -1,28 +1,28 @@
-@typeparam T where T : class
-
-@if (Value is not null)
-{
-
-
- @{
- var opts = new JsonSerializerOptions()
- {
- WriteIndented = true,
- PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
- DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
- };
- }
- @Value?.ToJson(opts)
-
-
-}
-
-@code {
- [Parameter, EditorRequired]
- public T? Value { get; set; } = default!;
-
- [Parameter]
- public bool IsError { get; set; }
-
- string _textClass => IsError ? "text-warning" : "text-info";
-}
+@typeparam T where T : class
+
+@if (Value is not null)
+{
+
+
+ @{
+ var opts = new JsonSerializerOptions()
+ {
+ WriteIndented = true,
+ PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
+ DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
+ };
+ }
+ @Value?.ToJson(opts)
+
+
+}
+
+@code {
+ [Parameter, EditorRequired]
+ public T? Value { get; set; } = default!;
+
+ [Parameter]
+ public bool IsError { get; set; }
+
+ string _textClass => IsError ? "text-warning" : "text-info";
+}
diff --git a/samples/Blazor.ExampleConsumer/Components/StorageCheckbox.razor b/samples/Blazor.ExampleConsumer/Components/StorageCheckbox.razor
index 5d13e0d..9240807 100644
--- a/samples/Blazor.ExampleConsumer/Components/StorageCheckbox.razor
+++ b/samples/Blazor.ExampleConsumer/Components/StorageCheckbox.razor
@@ -1,41 +1,41 @@
-@inject ILocalStorageService LocalStorage
-
-
-@if (EndContent is not null)
-{
- @EndContent
-}
-
-@code {
+@inject ILocalStorageService LocalStorage
+
+
+@if (EndContent is not null)
+{
+ @EndContent
+}
+
+@code {
[Parameter, EditorRequired]
public TodoItem Item { get; set; } = null!;
- [Parameter]
+ [Parameter]
public RenderFragment EndContent { get; set; } = null!;
[Parameter]
public EventCallback ItemChanged { get; set; }
- Task OnIsCompletedChanged(ChangeEventArgs args)
- {
- if (bool.TryParse(args?.Value?.ToString(), out var isCompleted))
- {
- LocalStorage.SetItem(
- Item.Id,
- Item = Item with { IsCompleted = isCompleted });
-
- if (ItemChanged.HasDelegate)
- {
- return ItemChanged.InvokeAsync(Item);
- }
- }
-
- return Task.CompletedTask;
- }
+ Task OnIsCompletedChanged(ChangeEventArgs args)
+ {
+ if (bool.TryParse(args?.Value?.ToString(), out var isCompleted))
+ {
+ LocalStorage.SetItem(
+ Item.Id,
+ Item = Item with { IsCompleted = isCompleted });
+
+ if (ItemChanged.HasDelegate)
+ {
+ return ItemChanged.InvokeAsync(Item);
+ }
+ }
+
+ return Task.CompletedTask;
+ }
}
\ No newline at end of file
diff --git a/samples/Blazor.ExampleConsumer/GlobalUsings.cs b/samples/Blazor.ExampleConsumer/GlobalUsings.cs
index d945059..7799891 100644
--- a/samples/Blazor.ExampleConsumer/GlobalUsings.cs
+++ b/samples/Blazor.ExampleConsumer/GlobalUsings.cs
@@ -1,8 +1,8 @@
-// Copyright (c) David Pine. All rights reserved.
-// Licensed under the MIT License.
-
-global using System.Text.Json;
-global using System.Text.Json.Serialization;
-global using Microsoft.JSInterop;
-global using Microsoft.AspNetCore.Components;
-global using static System.Globalization.CultureInfo;
+// Copyright (c) David Pine. All rights reserved.
+// Licensed under the MIT License.
+
+global using System.Text.Json;
+global using System.Text.Json.Serialization;
+global using Microsoft.JSInterop;
+global using Microsoft.AspNetCore.Components;
+global using static System.Globalization.CultureInfo;
diff --git a/samples/Blazor.ExampleConsumer/Models/TodoItem.cs b/samples/Blazor.ExampleConsumer/Models/TodoItem.cs
index 11728a9..d7cffdc 100644
--- a/samples/Blazor.ExampleConsumer/Models/TodoItem.cs
+++ b/samples/Blazor.ExampleConsumer/Models/TodoItem.cs
@@ -1,20 +1,20 @@
-// Copyright (c) David Pine. All rights reserved.
-// Licensed under the MIT License.
-
-using System.Text.RegularExpressions;
-
-namespace Blazor.ExampleConsumer.Models;
-
-public partial record class TodoItem(
- string Task,
- bool IsCompleted)
-{
- internal const string IdPrefix = "todo";
-
- [JsonIgnore]
- public string Id =>
- $"{IdPrefix}{AlphabetOrDigitRegex().Replace(Task, "")}";
-
- [GeneratedRegex("[^a-zA-Z0-9]")]
- private static partial Regex AlphabetOrDigitRegex();
-}
+// Copyright (c) David Pine. All rights reserved.
+// Licensed under the MIT License.
+
+using System.Text.RegularExpressions;
+
+namespace Blazor.ExampleConsumer.Models;
+
+public partial record class TodoItem(
+ string Task,
+ bool IsCompleted)
+{
+ internal const string IdPrefix = "todo";
+
+ [JsonIgnore]
+ public string Id =>
+ $"{IdPrefix}{AlphabetOrDigitRegex().Replace(Task, "")}";
+
+ [GeneratedRegex("[^a-zA-Z0-9]")]
+ private static partial Regex AlphabetOrDigitRegex();
+}
diff --git a/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor b/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor
index 83f27a6..4d89d35 100644
--- a/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor
+++ b/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor
@@ -1,38 +1,38 @@
-@page "/geolocation"
-
-@inject IGeolocationService Geolocation
-
-Geolocation
-
- Geolocation
- @if (_isLoading)
- {
-
- Loading...
-
- }
- @if (_position is not null)
- {
- :
-
- @(_position.TimestampAsUtcDateTime.ToLocalTime().ToString())
-
-
-
-
-
- }
-
-
-@if (_isLoading)
-{
- This page demonstrates the source generated Blazor.Geolocation.WebAssembly
package.
-}
-
-@{
-
-
-
-
+@page "/geolocation"
+
+@inject IGeolocationService Geolocation
+
+Geolocation
+
+ Geolocation
+ @if (_isLoading)
+ {
+
+ Loading...
+
+ }
+ @if (_position is not null)
+ {
+ :
+
+ @(_position.TimestampAsUtcDateTime.ToLocalTime().ToString())
+
+
+
+
+
+ }
+
+
+@if (_isLoading)
+{
+ This page demonstrates the source generated Blazor.Geolocation.WebAssembly
package.
+}
+
+@{
+
+
+
+
}
\ No newline at end of file
diff --git a/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor.cs b/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor.cs
index 302bdf2..19733f2 100644
--- a/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor.cs
+++ b/samples/Blazor.ExampleConsumer/Pages/ClientPosition.razor.cs
@@ -1,47 +1,47 @@
-// Copyright (c) David Pine. All rights reserved.
-// Licensed under the MIT License.
-
-namespace Blazor.ExampleConsumer.Pages;
-
-public sealed partial class ClientPosition
-{
- readonly JsonSerializerOptions _opts = new()
- {
- WriteIndented = true,
- PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
- DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
- };
- readonly PositionOptions _options = new()
- {
- EnableHighAccuracy = true,
- MaximumAge = null,
- Timeout = 15_000
- };
-
- GeolocationPosition? _position;
- GeolocationPositionError? _positionError;
- bool _isLoading = true;
-
- protected override void OnInitialized() =>
- Geolocation.GetCurrentPosition(
- component: this,
- onSuccessCallbackMethodName: nameof(OnPositionRecieved),
- onErrorCallbackMethodName: nameof(OnPositionError),
- options: _options);
-
- [JSInvokable]
- public void OnPositionRecieved(GeolocationPosition position)
- {
- _isLoading = false;
- _position = position;
- StateHasChanged();
- }
-
- [JSInvokable]
- public void OnPositionError(GeolocationPositionError positionError)
- {
- _isLoading = false;
- _positionError = positionError;
- StateHasChanged();
- }
-}
+// Copyright (c) David Pine. All rights reserved.
+// Licensed under the MIT License.
+
+namespace Blazor.ExampleConsumer.Pages;
+
+public sealed partial class ClientPosition
+{
+ readonly JsonSerializerOptions _opts = new()
+ {
+ WriteIndented = true,
+ PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
+ DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
+ };
+ readonly PositionOptions _options = new()
+ {
+ EnableHighAccuracy = true,
+ MaximumAge = null,
+ Timeout = 15_000
+ };
+
+ GeolocationPosition? _position;
+ GeolocationPositionError? _positionError;
+ bool _isLoading = true;
+
+ protected override void OnInitialized() =>
+ Geolocation.GetCurrentPosition(
+ component: this,
+ onSuccessCallbackMethodName: nameof(OnPositionRecieved),
+ onErrorCallbackMethodName: nameof(OnPositionError),
+ options: _options);
+
+ [JSInvokable]
+ public void OnPositionRecieved(GeolocationPosition position)
+ {
+ _isLoading = false;
+ _position = position;
+ StateHasChanged();
+ }
+
+ [JSInvokable]
+ public void OnPositionError(GeolocationPositionError positionError)
+ {
+ _isLoading = false;
+ _positionError = positionError;
+ StateHasChanged();
+ }
+}
diff --git a/samples/Blazor.ExampleConsumer/Pages/Index.razor b/samples/Blazor.ExampleConsumer/Pages/Index.razor
index e97347f..014471e 100644
--- a/samples/Blazor.ExampleConsumer/Pages/Index.razor
+++ b/samples/Blazor.ExampleConsumer/Pages/Index.razor
@@ -1,9 +1,9 @@
-@page "/"
-
-Index
-
-Hi friends! 🤓
-
-This sample app shows how to consume the source-generated projects of #blazorators.
-
-
+@page "/"
+
+Index
+
+Hi friends! 🤓
+
+This sample app shows how to consume the source-generated projects of #blazorators.
+
+
diff --git a/samples/Blazor.ExampleConsumer/Pages/ListenToMe.razor b/samples/Blazor.ExampleConsumer/Pages/ListenToMe.razor
index 2f42d46..67761f3 100644
--- a/samples/Blazor.ExampleConsumer/Pages/ListenToMe.razor
+++ b/samples/Blazor.ExampleConsumer/Pages/ListenToMe.razor
@@ -1,29 +1,29 @@
-@page "/listen"
-
-Speech-to-text
-
-This page demonstrates the source generated Blazor.SpeechRecongition.WebAssembly
package.
-
-
-
-
-
-
-
-