Skip to content

Commit fb241fa

Browse files
Migrated all projects to latest TFM and Updated NuGet Packages
1 parent 8668387 commit fb241fa

File tree

18 files changed

+24
-18
lines changed

18 files changed

+24
-18
lines changed

PreDefinedDialog/NET10/PreDefinedDialog_ServerApp/Components/Pages/Animations/AnimationAlert.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
await DialogService.AlertAsync("10% of battery remaining", "Low Battery", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
});
1717
}
1818
}

PreDefinedDialog/NET10/PreDefinedDialog_ServerApp/Components/Pages/Animations/AnimationConfirm.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
bool isConfirm = await DialogService.ConfirmAsync("Are you sure you want to permanently delete these items?", "Delete Multiple Items", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
});
1717
}
1818
}

PreDefinedDialog/NET10/PreDefinedDialog_ServerApp/Components/Pages/Animations/AnimationPrompt.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
string promptText = await DialogService.PromptAsync(null, "Join Wi-Fi network", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
ChildContent = @<table class="Table">
1717
<tbody>
1818
<tr>

PreDefinedDialog/NET10/PreDefinedDialog_ServerApp/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
using PreDefinedDialog_ServerApp.Components;
22
using Syncfusion.Blazor;
3+
using Syncfusion.Blazor.Popups;
34

45
var builder = WebApplication.CreateBuilder(args);
56

67
// Add services to the container.
78
builder.Services.AddRazorComponents()
89
.AddInteractiveServerComponents();
910
builder.Services.AddSyncfusionBlazor();
10-
11+
builder.Services.AddScoped<SfDialogService>();
1112
var app = builder.Build();
1213

1314
// Configure the HTTP request pipeline.

PreDefinedDialog/NET10/PreDefinedDialog_WasmApp/PreDefinedDialog_WasmApp.Client/Pages/Animations/AnimationAlert.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
await DialogService.AlertAsync("10% of battery remaining", "Low Battery", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
});
1717
}
1818
}

PreDefinedDialog/NET10/PreDefinedDialog_WasmApp/PreDefinedDialog_WasmApp.Client/Pages/Animations/AnimationConfirm.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
bool isConfirm = await DialogService.ConfirmAsync("Are you sure you want to permanently delete these items?", "Delete Multiple Items", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
});
1717
}
1818
}

PreDefinedDialog/NET10/PreDefinedDialog_WasmApp/PreDefinedDialog_WasmApp.Client/Pages/Animations/AnimationPrompt.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
string promptText = await DialogService.PromptAsync(null, "Join Wi-Fi network", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
ChildContent = @<table class="Table">
1717
<tbody>
1818
<tr>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
22
using Syncfusion.Blazor;
3+
using Syncfusion.Blazor.Popups;
34

45
var builder = WebAssemblyHostBuilder.CreateDefault(args);
56
builder.Services.AddSyncfusionBlazor();
6-
7+
builder.Services.AddScoped<SfDialogService>();
78
await builder.Build().RunAsync();

PreDefinedDialog/NET10/PreDefinedDialog_WasmApp/PreDefinedDialog_WasmApp/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
using PreDefinedDialog_WasmApp.Client.Pages;
22
using PreDefinedDialog_WasmApp.Components;
33
using Syncfusion.Blazor;
4+
using Syncfusion.Blazor.Popups;
45

56
var builder = WebApplication.CreateBuilder(args);
67

78
// Add services to the container.
89
builder.Services.AddRazorComponents()
910
.AddInteractiveWebAssemblyComponents();
1011
builder.Services.AddSyncfusionBlazor();
11-
12+
builder.Services.AddScoped<SfDialogService>();
1213
var app = builder.Build();
1314

1415
// Configure the HTTP request pipeline.

PreDefinedDialog/NET8/PreDefinedDialog_ServerApp/Components/Pages/Animations/AnimationAlert.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
await DialogService.AlertAsync("10% of battery remaining", "Low Battery", new DialogOptions()
1414
{
15-
AnimationSettings = new DialogAnimationSettings() { Effect = DialogEffect.Zoom },
15+
AnimationSettings = new DialogAnimationOptions() { Effect = DialogEffect.Zoom },
1616
});
1717
}
1818
}

0 commit comments

Comments
 (0)