Closed BenBurge closed 4 months ago
dotnet --info
``` .NET SDK: Version: 8.0.204 Commit: c338c7548c Workload version: 8.0.200-manifests.7d36c14f Runtime Environment: OS Name: Windows OS Version: 10.0.22631 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\8.0.204\ .NET workloads installed: There are no installed workloads to display. Host: Version: 8.0.4 Architecture: x64 Commit: 2d7eea2529 .NET SDKs installed: 3.1.426 [C:\Program Files\dotnet\sdk] 8.0.104 [C:\Program Files\dotnet\sdk] 8.0.204 [C:\Program Files\dotnet\sdk] .NET runtimes installed: Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Other architectures found: x86 [C:\Program Files (x86)\dotnet] registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation] Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/download ```
This should be fixed in v2.39.28 (pre-release)
. Please let me know if you're still having issues
So far, no issues. I will open a different issue if I come across anything in the future.
Thank you @ryzngard
Is this a Bug or Feature request?:
Bug
Steps to reproduce:
Open project in VSCode. Create some components. Randomly some components will fail to be recognized.
Please note that this happens on both insiders and non-insiders edition of VSCode.
Description of the problem:
Expected behavior: All components should be found from the same namespace and not be marked as a warning.
Actual behavior: Components are randomly marked as not recognized from the same namespace as others.
Logs
OmniSharp
------------------- Please fill in this section ------------------------- Due to length I've posted this on another comment.
Razor
Expand
``` [Client - 9:00:44 AM] -- Starting Issue Data Collection-- [Client - 9:00:46 AM] Notifying document 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor' changed 'opened' [Client - 9:00:46 AM] 20 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.html': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:46 AM] 20 - Projected document in sync with host document [Client - 9:00:46 AM] 20 - Projected text document in sync with data type [Client - 9:00:46 AM] 20 - Synchronization successful! [Client - 9:00:46 AM] 21 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:46 AM] 21 - Projected document in sync with host document [Client - 9:00:46 AM] 21 - Projected text document in sync with data type [Client - 9:00:46 AM] 21 - Synchronization successful! [Client - 9:00:47 AM] 22 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:47 AM] 22 - Projected document in sync with host document [Client - 9:00:47 AM] 22 - Projected text document in sync with data type [Client - 9:00:47 AM] 22 - Synchronization successful! [Client - 9:00:47 AM] 23 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:47 AM] 23 - Projected document in sync with host document [Client - 9:00:47 AM] 23 - Projected text document in sync with data type [Client - 9:00:47 AM] 23 - Synchronization successful! [Client - 9:00:47 AM] 24 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:47 AM] 24 - Projected document in sync with host document [Client - 9:00:47 AM] 24 - Projected text document in sync with data type [Client - 9:00:47 AM] 24 - Synchronization successful! [Client - 9:00:48 AM] 25 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:48 AM] 25 - Projected document in sync with host document [Client - 9:00:48 AM] 25 - Projected text document in sync with data type [Client - 9:00:48 AM] 25 - Synchronization successful! [Client - 9:00:48 AM] 26 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:48 AM] 26 - Projected document in sync with host document [Client - 9:00:48 AM] 26 - Projected text document in sync with data type [Client - 9:00:48 AM] 26 - Synchronization successful! [Client - 9:00:48 AM] 27 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:48 AM] 27 - Projected document in sync with host document [Client - 9:00:48 AM] 27 - Projected text document in sync with data type [Client - 9:00:48 AM] 27 - Synchronization successful! [Client - 9:00:48 AM] 28 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:48 AM] 28 - Projected document in sync with host document [Client - 9:00:48 AM] 28 - Projected text document in sync with data type [Client - 9:00:48 AM] 28 - Synchronization successful! [Client - 9:00:48 AM] 29 - Synchronizing 'c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor__virtual.cs': Currently at 1, synchronizing to version '1'. Current host document version: '1' Current projected document version: '2' [Client - 9:00:48 AM] 29 - Projected document in sync with host document [Client - 9:00:48 AM] 29 - Projected text document in sync with data type [Client - 9:00:48 AM] 29 - Synchronization successful! [Client - 9:00:49 AM] Re-mapping location [234:13, 234:25] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [29:13, 29:25] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [385:18, 385:38] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [57:18, 57:38] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [293:17, 293:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [36:17, 36:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [304:17, 304:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [40:17, 40:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [315:16, 315:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [44:16, 44:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [326:17, 326:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [48:17, 48:29] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [384:33, 384:45] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [56:33, 56:45] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [385:42, 385:54] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [57:42, 57:54] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [386:42, 386:54] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [58:42, 58:54] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [387:39, 387:51] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [59:39, 59:51] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [391:8, 391:20] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [63:8, 63:20] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [397:15, 397:27] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [69:15, 69:27] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [400:16, 400:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [72:16, 72:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [403:16, 403:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [75:16, 75:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [406:16, 406:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [78:16, 78:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [409:16, 409:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [81:16, 81:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [418:15, 418:27] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [90:15, 90:27] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [423:16, 423:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [95:16, 95:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [426:16, 426:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [98:16, 98:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [429:16, 429:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [101:16, 101:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:49 AM] Re-mapping location [432:16, 432:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor__virtual.cs to [104:16, 104:28] in /c:/Users/anonymous/source/repos/Chilengo/Urim/Urim.Web/Components/Client/UserProfile/Create/CreateProfile.razor [Client - 9:00:52 AM] -- Stopping Issue Data Collection-- ```
Workspace information
Razor document:
Expand
```Razor @layout AppLayout @inject AppLayoutState AppLayoutState
Welcome to Urim!
Let's build your profile.
@*
Name
Contact Info
Stake/Ward Info
*@
@if (ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation)
{
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation)
{
}
else if (ProfileState.CurrentStep == ProfileCreationStep.StakeProfileInformation)
{
}
else if(ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation)
{
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ReviewProfileInformation)
{
}
@code {
private ProfileCreationState ProfileState { get; set; } = new ProfileCreationState();
private Color TimelineGeneralColor => ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation ? Color.Primary : Color.Default;
private Color TimelineContactColor => ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation ? Color.Primary : Color.Default;
private Color TimelineWardColor => ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation ? Color.Primary : Color.Default;
protected override Task OnInitializedAsync()
{
ProfileState.Contact.Email = AppLayoutState.CurrentUserEmail;
return base.OnInitializedAsync();
}
private void NextStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ReviewProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
break;
}
}
private void PreviousStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.GeneralProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
}
}
private async Task SetupProfile()
{
}
}
```
Projected CSharp document:
Expand
```C# ////////////////////// Projected CSharp as seen by extension /////////////////////// //
#pragma warning disable 1591
namespace Urim.Web.Components.Client.UserProfile.Create
{
#line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Globalization;
#nullable disable
#nullable restore
#line 2 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Net.Http;
#nullable disable
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Net.Http.Json;
#nullable disable
#nullable restore
#line 4 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Authorization;
#nullable disable
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;
#nullable disable
#nullable restore
#line 6 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;
#nullable disable
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;
#nullable disable
#nullable restore
#line 8 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;
#nullable disable
#nullable restore
#line 9 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using static Microsoft.AspNetCore.Components.Web.RenderMode;
#nullable disable
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization;
#nullable disable
#nullable restore
#line 11 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.JSInterop;
#nullable disable
#nullable restore
#line 12 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using MudBlazor;
#nullable disable
#nullable restore
#line 13 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web;
#nullable disable
#nullable restore
#line 14 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web.Components;
#nullable disable
#nullable restore
#line 15 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web.Components.Client.Layout;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Components.LayoutAttribute(typeof(AppLayout))]
#nullable restore
public partial class CreateProfile : global::Microsoft.AspNetCore.Components.ComponentBase
#nullable disable
{
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((global::System.Action)(() => {
#nullable restore
#line 1 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
AppLayout __typeHelper = default!;
#line default
#line hidden
#nullable disable
}
))();
((global::System.Action)(() => {
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
AppLayoutState __typeHelper = default!;
#line default
#line hidden
#nullable disable
}
))();
((global::System.Action)(() => {
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
global::System.Object AppLayoutState = null!;
#line default
#line hidden
#nullable disable
}
))();
}
#pragma warning restore 219
#pragma warning disable 0414
private static object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
__o = "";
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
MaxWidth.Small
#line default
#line hidden
#nullable disable
);
__builder.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
__builder2.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Typo.h5
#line default
#line hidden
#nullable disable
);
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align.Center
#line default
#line hidden
#nullable disable
);
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudText)default).
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Typo
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudText)default).
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudText);
#line default
#line hidden
#nullable disable
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align.Center
#line default
#line hidden
#nullable disable
);
__o = "";
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudText)default).
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudText)default).
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Class
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudText);
#line default
#line hidden
#nullable disable
#nullable restore
#line 30 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
if (ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation)
{
#line default
#line hidden
#nullable disable
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
10
#line default
#line hidden
#nullable disable
);
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Justify.Center
#line default
#line hidden
#nullable disable
);
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudStack)default).
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Spacing
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudStack)default).
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Justify
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudStack);
#line default
#line hidden
#nullable disable
#nullable restore
#line 35 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 39 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.StakeProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 43 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if(ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 47 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ReviewProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 51 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
#line default
#line hidden
#nullable disable
}
));
#nullable restore
#line 6 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudStack);
#line default
#line hidden
#nullable disable
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudContainer)default).
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Class
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudContainer)default).
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
MaxWidth
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudContainer);
#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
#nullable restore
#line 56 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
private ProfileCreationState ProfileState { get; set; } = new ProfileCreationState();
private Color TimelineGeneralColor => ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation ? Color.Primary : Color.Default;
private Color TimelineContactColor => ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation ? Color.Primary : Color.Default;
private Color TimelineWardColor => ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation ? Color.Primary : Color.Default;
protected override Task OnInitializedAsync()
{
ProfileState.Contact.Email = AppLayoutState.CurrentUserEmail;
return base.OnInitializedAsync();
}
private void NextStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ReviewProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
break;
}
}
private void PreviousStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.GeneralProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
}
}
private async Task SetupProfile()
{
}
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Components.InjectAttribute] private AppLayoutState AppLayoutState { get; set; }
}
}
#pragma warning restore 1591
////////////////////// Projected CSharp as seen by extension ///////////////////////
//
#pragma warning disable 1591
namespace Urim.Web.Components.Client.UserProfile.Create
{
#line default
using global::System;
using global::System.Collections.Generic;
using global::System.Linq;
using global::System.Threading.Tasks;
using global::Microsoft.AspNetCore.Components;
#nullable restore
#line 1 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Globalization;
#nullable disable
#nullable restore
#line 2 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Net.Http;
#nullable disable
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using System.Net.Http.Json;
#nullable disable
#nullable restore
#line 4 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Authorization;
#nullable disable
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Authorization;
#nullable disable
#nullable restore
#line 6 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Forms;
#nullable disable
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Routing;
#nullable disable
#nullable restore
#line 8 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web;
#nullable disable
#nullable restore
#line 9 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using static Microsoft.AspNetCore.Components.Web.RenderMode;
#nullable disable
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.AspNetCore.Components.Web.Virtualization;
#nullable disable
#nullable restore
#line 11 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Microsoft.JSInterop;
#nullable disable
#nullable restore
#line 12 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using MudBlazor;
#nullable disable
#nullable restore
#line 13 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web;
#nullable disable
#nullable restore
#line 14 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web.Components;
#nullable disable
#nullable restore
#line 15 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\_Imports.razor"
using Urim.Web.Components.Client.Layout;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Components.LayoutAttribute(typeof(AppLayout))]
#nullable restore
public partial class CreateProfile : global::Microsoft.AspNetCore.Components.ComponentBase
#nullable disable
{
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((global::System.Action)(() => {
#nullable restore
#line 1 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
AppLayout __typeHelper = default!;
#line default
#line hidden
#nullable disable
}
))();
((global::System.Action)(() => {
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
AppLayoutState __typeHelper = default!;
#line default
#line hidden
#nullable disable
}
))();
((global::System.Action)(() => {
#nullable restore
#line 3 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
global::System.Object AppLayoutState = null!;
#line default
#line hidden
#nullable disable
}
))();
}
#pragma warning restore 219
#pragma warning disable 0414
private static object __o = null;
#pragma warning restore 0414
#pragma warning disable 1998
protected override void BuildRenderTree(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
{
__o = "";
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
MaxWidth.Small
#line default
#line hidden
#nullable disable
);
__builder.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
__builder2.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Typo.h5
#line default
#line hidden
#nullable disable
);
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align.Center
#line default
#line hidden
#nullable disable
);
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudText)default).
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Typo
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudText)default).
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 7 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudText);
#line default
#line hidden
#nullable disable
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align.Center
#line default
#line hidden
#nullable disable
);
__o = "";
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudText)default).
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Align
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudText)default).
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Class
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 10 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudText);
#line default
#line hidden
#nullable disable
#nullable restore
#line 30 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
if (ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation)
{
#line default
#line hidden
#nullable disable
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
10
#line default
#line hidden
#nullable disable
);
__o = global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck(
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Justify.Center
#line default
#line hidden
#nullable disable
);
__builder3.AddAttribute(-1, "ChildContent", (global::Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudStack)default).
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Spacing
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudStack)default).
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Justify
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 32 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudStack);
#line default
#line hidden
#nullable disable
#nullable restore
#line 35 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 39 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.StakeProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 43 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if(ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 47 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
else if (ProfileState.CurrentStep == ProfileCreationStep.ReviewProfileInformation)
{
#line default
#line hidden
#nullable disable
#nullable restore
#line 51 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
}
#line default
#line hidden
#nullable disable
}
));
#nullable restore
#line 6 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudStack);
#line default
#line hidden
#nullable disable
}
));
#pragma warning disable BL0005
((global::MudBlazor.MudContainer)default).
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
Class
#line default
#line hidden
#nullable disable
= default;
((global::MudBlazor.MudContainer)default).
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
MaxWidth
#line default
#line hidden
#nullable disable
= default;
#pragma warning restore BL0005
#nullable restore
#line 5 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
__o = typeof(global::MudBlazor.MudContainer);
#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
#nullable restore
#line 56 "c:\Users\anonymous\source\repos\Chilengo\Urim\Urim.Web\Components\Client\UserProfile\Create\CreateProfile.razor"
private ProfileCreationState ProfileState { get; set; } = new ProfileCreationState();
private Color TimelineGeneralColor => ProfileState.CurrentStep == ProfileCreationStep.GeneralProfileInformation ? Color.Primary : Color.Default;
private Color TimelineContactColor => ProfileState.CurrentStep == ProfileCreationStep.ContactProfileInformation ? Color.Primary : Color.Default;
private Color TimelineWardColor => ProfileState.CurrentStep == ProfileCreationStep.WardProfileInformation ? Color.Primary : Color.Default;
protected override Task OnInitializedAsync()
{
ProfileState.Contact.Email = AppLayoutState.CurrentUserEmail;
return base.OnInitializedAsync();
}
private void NextStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ReviewProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
break;
}
}
private void PreviousStep()
{
switch(ProfileState.CurrentStep)
{
case ProfileCreationStep.GeneralProfileInformation:
break;
case ProfileCreationStep.ContactProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.GeneralProfileInformation;
break;
case ProfileCreationStep.StakeProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.ContactProfileInformation;
break;
case ProfileCreationStep.WardProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.StakeProfileInformation;
break;
case ProfileCreationStep.ReviewProfileInformation:
ProfileState.CurrentStep = ProfileCreationStep.WardProfileInformation;
break;
}
}
private async Task SetupProfile()
{
}
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Components.InjectAttribute] private AppLayoutState AppLayoutState { get; set; }
}
}
#pragma warning restore 1591
// 2
```
Projected Html document:
Expand
```Html ////////////////////// Projected Html as seen by extension /////////////////////// ~~~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Welcome to Urim!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