From 3072692dbe19f07609dc49f6ec60aa33603f28f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=91=D0=B0=D0=BA=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D0=BA=D0=B0=D1=8F?= Date: Sun, 19 May 2024 00:19:54 +0400 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B0=D0=BA=20=D0=BD=D1=83=20=D0=B2?= =?UTF-8?q?=D1=80=D0=BE=D0=B4=D0=B5=20=D0=B1=20=D1=80=D0=B0=D0=B7=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D0=BB=D0=B0=D1=81=D1=8C,=20=D0=B2=D0=B8?= =?UTF-8?q?=D0=B4=D0=B5=D0=BE=20=D0=BF=D0=BE=D1=81=D0=BC=D0=BE=D1=82=D1=80?= =?UTF-8?q?=D0=B5=D0=BB=D0=B0,=20=D0=BF=D1=83=D1=82=D1=8C=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B0...=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=BE=D1=82=D0=B0=D0=B5=D1=82,=20=D1=82=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=BA=D0=BE=20=D0=B2=D0=BE=D1=82=20=D0=BA=D0=BE=D0=BB?= =?UTF-8?q?=D0=BE=D0=BD=D0=BA=D0=B8=20=D1=83=D0=B1=D0=BE=D0=B3=D0=B8=D0=B5?= =?UTF-8?q?=20:=5F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++ .../ViewModels/SushiViewModel.cs | 2 ++ .../DatabaseImplementationException.cs | 2 +- .../SushiBarDatabaseImplement.csproj | 4 +++ .../SushiBarFileImplement.csproj | 31 +++++++++++-------- 5 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index ca1c7a3..e0148da 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs +*.dll +/SushiBar/ImplementationExtentions + # Mono auto generated files mono_crash.* diff --git a/SushiBarContracts/ViewModels/SushiViewModel.cs b/SushiBarContracts/ViewModels/SushiViewModel.cs index b979f9e..8e79d30 100644 --- a/SushiBarContracts/ViewModels/SushiViewModel.cs +++ b/SushiBarContracts/ViewModels/SushiViewModel.cs @@ -14,6 +14,8 @@ namespace SushiBarContracts.ViewModels [Column(title: "Цена", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)] public double Price { get; set; } + + [Column(visible: false)] public Dictionary SushiComponents { get; diff --git a/SushiBarDatabaseImplement/DatabaseImplementationException.cs b/SushiBarDatabaseImplement/DatabaseImplementationException.cs index 81a4613..374e692 100644 --- a/SushiBarDatabaseImplement/DatabaseImplementationException.cs +++ b/SushiBarDatabaseImplement/DatabaseImplementationException.cs @@ -6,7 +6,7 @@ namespace SushiBarDatabaseImplement { public class DatabaseImplementationException : IImplementationExtension { - public int Priority => 0; + public int Priority => 1; public void RegisterServices() { DependencyManager.Instance.RegisterType(); diff --git a/SushiBarDatabaseImplement/SushiBarDatabaseImplement.csproj b/SushiBarDatabaseImplement/SushiBarDatabaseImplement.csproj index e86f101..1a0592f 100644 --- a/SushiBarDatabaseImplement/SushiBarDatabaseImplement.csproj +++ b/SushiBarDatabaseImplement/SushiBarDatabaseImplement.csproj @@ -23,4 +23,8 @@ + + + + diff --git a/SushiBarFileImplement/SushiBarFileImplement.csproj b/SushiBarFileImplement/SushiBarFileImplement.csproj index f7a1d40..77053fe 100644 --- a/SushiBarFileImplement/SushiBarFileImplement.csproj +++ b/SushiBarFileImplement/SushiBarFileImplement.csproj @@ -1,19 +1,24 @@  - - net8.0 - enable - enable - + + net8.0 + enable + enable + - - - - + + + + - - - - + + + + + + + + +