Browse Source
Merge pull request #6113 from abpframework/cotur/namespace-fix
Namespace refactoring for Blazor components
pull/6117/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with
21 additions and
14 deletions
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/ExceptionHandling/UserExceptionInformer.cs
-
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/Messages/SimpleUiMessageService.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/AbpComponentBase.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Messages/IUiMessageService.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Messages/UiMessageEventArgs.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Messages/UiMessageOptions.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Messages/UiMessageType.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Notifications/IUiNotificationService.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Notifications/NullUiNotificationService.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Notifications/UiNotificationEventArgs.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Notifications/UiNotificationOptions.cs
-
framework/src/Volo.Abp.AspNetCore.Components/Volo/Abp/AspNetCore/Components/Notifications/UiNotificationType.cs
-
framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiMessageService.cs
-
framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiNotificationService.cs
-
framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs
-
framework/src/Volo.Abp.BlazoriseUI/Components/UiMessageAlert.razor.cs
-
framework/src/Volo.Abp.BlazoriseUI/Components/UiNotificationAlert.razor.cs
-
modules/account/src/Volo.Abp.Account.Blazor/Pages/Account/AccountManage.razor.cs
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Blazor/Components/FeatureManagementModal.razor.cs
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.AspNetCore.ExceptionHandling; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
using Volo.Abp.Http; |
|
|
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.JSInterop; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly.Messages |
|
|
|
|
|
|
|
@ -5,7 +5,8 @@ using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.AspNetCore.Components.Notifications; |
|
|
|
using Volo.Abp.Localization; |
|
|
|
using Volo.Abp.ObjectMapping; |
|
|
|
using Volo.Abp.Users; |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Messages |
|
|
|
{ |
|
|
|
public interface IUiMessageService |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Messages |
|
|
|
{ |
|
|
|
public class UiMessageEventArgs : EventArgs |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Messages |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Options to override message dialog appearance.
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Messages |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Defines the possible ui message types with predefined actions.
|
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Notifications |
|
|
|
{ |
|
|
|
public interface IUiNotificationService |
|
|
|
{ |
|
|
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Notifications |
|
|
|
{ |
|
|
|
public class NullUiNotificationService : IUiNotificationService, ITransientDependency |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Notifications |
|
|
|
{ |
|
|
|
public class UiNotificationEventArgs : EventArgs |
|
|
|
{ |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
using Volo.Abp.Localization; |
|
|
|
|
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Notifications |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// Options to override notification appearance.
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
namespace Volo.Abp.AspNetCore.Components.WebAssembly |
|
|
|
namespace Volo.Abp.AspNetCore.Components.Notifications |
|
|
|
{ |
|
|
|
public enum UiNotificationType |
|
|
|
{ |
|
|
|
|
|
|
|
@ -4,6 +4,7 @@ using Localization.Resources.AbpUi; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
|
|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using System; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Volo.Abp.AspNetCore.Components.Notifications; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
|
|
|
|
|
|
|
|
@ -5,6 +5,7 @@ using Localization.Resources.AbpUi; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
|
|
|
|
namespace Volo.Abp.BlazoriseUI.Components |
|
|
|
|
|
|
|
@ -3,6 +3,7 @@ using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Blazorise; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
|
|
|
|
namespace Volo.Abp.BlazoriseUI.Components |
|
|
|
|
|
|
|
@ -3,6 +3,7 @@ using System.Threading.Tasks; |
|
|
|
using Blazorise.Snackbar; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using Volo.Abp.AspNetCore.Components.Notifications; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
|
|
|
|
namespace Volo.Abp.BlazoriseUI.Components |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.Identity; |
|
|
|
|
|
|
|
namespace Volo.Abp.Account.Blazor.Pages.Account |
|
|
|
@ -17,7 +17,7 @@ namespace Volo.Abp.Account.Blazor.Pages.Account |
|
|
|
|
|
|
|
protected PersonalInfoModel PersonalInfoModel; |
|
|
|
|
|
|
|
protected async override Task OnInitializedAsync() |
|
|
|
protected override async Task OnInitializedAsync() |
|
|
|
{ |
|
|
|
await GetUserInformations(); |
|
|
|
} |
|
|
|
|
|
|
|
@ -6,8 +6,7 @@ using JetBrains.Annotations; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using Microsoft.Extensions.Options; |
|
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly; |
|
|
|
using Volo.Abp.FeatureManagement.Localization; |
|
|
|
using Volo.Abp.AspNetCore.Components.Messages; |
|
|
|
using Volo.Abp.Features; |
|
|
|
using Volo.Abp.Localization; |
|
|
|
using Volo.Abp.Validation.StringValues; |
|
|
|
|