mirror of https://github.com/abpframework/abp.git
committed by
GitHub
4 changed files with 27 additions and 9 deletions
@ -0,0 +1,8 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Components.MauiBlazor; |
|||
|
|||
public interface IMauiBlazorSelectedLanguageProvider |
|||
{ |
|||
Task<string> GetSelectedLanguageAsync(); |
|||
} |
|||
@ -0,0 +1,12 @@ |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Components.MauiBlazor; |
|||
|
|||
public class NullMauiBlazorSelectedLanguageProvider : IMauiBlazorSelectedLanguageProvider, ITransientDependency |
|||
{ |
|||
public Task<string> GetSelectedLanguageAsync() |
|||
{ |
|||
return Task.FromResult((string)null); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue