mirror of https://github.com/abpframework/abp.git
4 changed files with 24 additions and 19 deletions
@ -0,0 +1,14 @@ |
|||
using Volo.Abp.Account.Localization; |
|||
using Volo.Abp.AspNetCore.Components; |
|||
|
|||
namespace Volo.Abp.Account.Blazor |
|||
{ |
|||
public class AbpAccountComponentBase : AbpComponentBase |
|||
{ |
|||
public AbpAccountComponentBase() |
|||
{ |
|||
LocalizationResource = typeof(AccountResource); |
|||
ObjectMapperContext = typeof(AbpAccountBlazorModule); |
|||
} |
|||
} |
|||
} |
|||
@ -1,33 +1,22 @@ |
|||
using System.Threading.Tasks; |
|||
using Localization.Resources.AbpUi; |
|||
using Microsoft.AspNetCore.Components; |
|||
using Microsoft.Extensions.Localization; |
|||
using Volo.Abp.Account.Localization; |
|||
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|||
using Volo.Abp.Identity; |
|||
using Volo.Abp.ObjectMapping; |
|||
|
|||
namespace Volo.Abp.Account.Blazor.Pages.Account |
|||
{ |
|||
public abstract class AccountManageBase : OwningComponentBase |
|||
public partial class AccountManage |
|||
{ |
|||
[Inject] protected IAccountAppService AccountAppService { get; set; } |
|||
[Inject] protected IProfileAppService ProfileAppService { get; set; } |
|||
|
|||
[Inject] protected IObjectMapper<AbpAccountBlazorModule> ObjectMapper { get; set; } |
|||
|
|||
|
|||
[Inject] protected IUiMessageService UiMessageService { get; set; } |
|||
|
|||
[Inject] protected IStringLocalizer<AbpUiResource> UiLocalizer { get; set; } |
|||
|
|||
[Inject] protected IStringLocalizer<AccountResource> L { get; set; } |
|||
|
|||
protected string SelectedTab = "Password"; |
|||
|
|||
protected ChangePasswordModel ChangePasswordModel; |
|||
|
|||
protected PersonalInfoModel PersonalInfoModel; |
|||
|
|||
|
|||
protected override async Task OnInitializedAsync() |
|||
{ |
|||
await GetUserInformations(); |
|||
Loading…
Reference in new issue