так ну вроде б разобралась, видео посмотрела, путь прописала... работает, только вот колонки убогие :_)

This commit is contained in:
Елена Бакальская 2024-05-19 00:19:54 +04:00
parent e3e0abe7d3
commit 3072692dbe
5 changed files with 28 additions and 14 deletions

3
.gitignore vendored
View File

@ -14,6 +14,9 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
*.dll
/SushiBar/ImplementationExtentions
# Mono auto generated files
mono_crash.*

View File

@ -14,6 +14,8 @@ namespace SushiBarContracts.ViewModels
[Column(title: "Цена", gridViewAutoSize: GridViewAutoSize.Fill, isUseAutoSize: true)]
public double Price { get; set; }
[Column(visible: false)]
public Dictionary<int, (IComponentModel, int)> SushiComponents
{
get;

View File

@ -6,7 +6,7 @@ namespace SushiBarDatabaseImplement
{
public class DatabaseImplementationException : IImplementationExtension
{
public int Priority => 0;
public int Priority => 1;
public void RegisterServices()
{
DependencyManager.Instance.RegisterType<IClientStorage, ClientStorage>();

View File

@ -23,4 +23,8 @@
<ProjectReference Include="..\SushiBarListImplements\SushiBarListImplements.csproj" />
</ItemGroup>
<Target Name="AfterBuild">
<Exec Command="copy /Y &quot;$(TargetDir)*.dll&quot; &quot;\SushiBar\ImplementationExtentions&quot;" />
</Target>
</Project>

View File

@ -1,19 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" />
<PackageReference Include="PdfSharp.MigraDoc.Standard" Version="1.51.12" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" />
<PackageReference Include="PdfSharp.MigraDoc.Standard" Version="1.51.12" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SushiBarContracts\SushiBarContracts.csproj" />
<ProjectReference Include="..\SushiBarDataModels\SushiBarDataModels.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SushiBarContracts\SushiBarContracts.csproj" />
<ProjectReference Include="..\SushiBarDataModels\SushiBarDataModels.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(TargetDir)*.dll&quot; &quot;$(SolutionDir)ImplementationExtensions\*.dll&quot;" />
</Target>
</Project>