From a26d61e43af2d45c7900b2504e3a7f7d12e42782 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 29 Dec 2023 14:10:11 +0000 Subject: [PATCH 1/2] chore: Automated dotnet-format update --- .../Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs index fd6e2ff..7e14568 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs @@ -71,7 +71,7 @@ public virtual void OnLoadComplete() items = items.Where(x => !unusedEnums.Contains(x)).ToArray(); var res = await Page.DisplayActionSheet(title, "Close", null, items); if (items.Contains(res)) - return (true, (TEnum)Enum.Parse(typeof(TEnum),res)); + return (true, (TEnum)Enum.Parse(typeof(TEnum), res)); return (false, default); } From f48b8cde9cf499d572cfc5c1c3992fe826744e59 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Fri, 29 Dec 2023 17:55:35 +0330 Subject: [PATCH 2/2] rename OnGlobalServiceErrorHandler --- .../Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs | 4 ++-- .../EasyMicroservices.UI.Cores.Mvvm.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs index 3d0ecfc..9cc3dfd 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs @@ -12,7 +12,7 @@ public class ApiBaseViewModel : BaseViewModel /// /// /// - public static Func> OnExceptionHandler { get; set; } + public static Func> OnGlobalServiceErrorHandler { get; set; } /// /// /// @@ -84,7 +84,7 @@ public virtual async Task ExecuteApi(Func> getServerResult, FuncAnyCPU;x64;x86 EasyMicroservices true - 0.0.0.15 + 0.0.0.16 Model View View Model EasyMicroservices@gmail.com mvvm,mvpvm,modelview,modelviewviewmodel