update nach Schuelererfassung

This commit is contained in:
2021-08-10 16:53:27 +02:00
parent 595cd0edea
commit e16ec943e1
1318 changed files with 1538825 additions and 389 deletions

View File

@@ -0,0 +1,21 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace BlazorApp.Shared
{
/// <summary>
/// A base component to perform common functionalities.
/// </summary>
public class SampleBaseComponent: ComponentBase
{
//[Inject]
//protected SampleService SampleService { get; set; }
//protected override void OnAfterRender(bool firstRender)
//{
// base.OnAfterRender(firstRender);
// SampleService.Spinner?.Hide();
// SampleService.Spinner?.ShowModalSpinner(false);
//}
}
}

View File

@@ -0,0 +1,32 @@
using Syncfusion.Blazor;
namespace BlazorApp.Shared
{
/// <summary>
/// Extends ISyncfusionStringLocalizer for applying localization to Syncfusion components.
/// </summary>
public class SyncfusionLocalizer : ISyncfusionStringLocalizer
{
/// <summary>
/// Get locale value from the resource file.
/// </summary>
/// <param name="key">Locale key for getting the translated text.</param>
public string GetText(string key)
{
return this.ResourceManager.GetString(key);
}
/// <summary>
/// Access the resource file and get the exact value from the locale key.
/// </summary>
public System.Resources.ResourceManager ResourceManager
{
get
{
return BlazorApp.Resources.SfResources.ResourceManager;
}
}
}
}