Сошел с ума день какой-то там
parent
66a011e33c
commit
81727a9173
|
|
@ -5,6 +5,9 @@
|
||||||
<map>
|
<map>
|
||||||
<entry key="App.axaml" value="BathHouseManagmet.csproj" />
|
<entry key="App.axaml" value="BathHouseManagmet.csproj" />
|
||||||
<entry key="ViewModels/EmployeeViewModel.axaml" value="BathHouseManagmet.csproj" />
|
<entry key="ViewModels/EmployeeViewModel.axaml" value="BathHouseManagmet.csproj" />
|
||||||
|
<entry key="Views/AddWindows/AddEmployeeWindow.axaml" value="BathHouseManagmet.csproj" />
|
||||||
|
<entry key="Views/AddWindows/AddPositionWindow.axaml" value="BathHouseManagmet.csproj" />
|
||||||
|
<entry key="Views/AddWindows/AddZoneWindow.axaml" value="BathHouseManagmet.csproj" />
|
||||||
<entry key="Views/EmployeeView.axaml" value="BathHouseManagmet.csproj" />
|
<entry key="Views/EmployeeView.axaml" value="BathHouseManagmet.csproj" />
|
||||||
<entry key="Views/MainWindow.axaml" value="BathHouseManagmet.csproj" />
|
<entry key="Views/MainWindow.axaml" value="BathHouseManagmet.csproj" />
|
||||||
<entry key="Views/OrderView.axaml" value="BathHouseManagmet.csproj" />
|
<entry key="Views/OrderView.axaml" value="BathHouseManagmet.csproj" />
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"DatabaseConnection": {
|
|
||||||
"ConnectionString" : "server=localhost;user=root;password=root;database=bathhouse"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -23,16 +23,11 @@
|
||||||
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1"/>
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1"/>
|
||||||
|
<PackageReference Include="MessageBox" Version="2.1.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-preview.3.26207.106" />
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="11.0.0-preview.3.26207.106" />
|
||||||
<PackageReference Include="MySqlConnector" Version="2.5.0" />
|
<PackageReference Include="MySqlConnector" Version="2.5.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<None Update="Appsettings.json">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Views\Windows\MainWindow.axaml.cs">
|
<Compile Update="Views\Windows\MainWindow.axaml.cs">
|
||||||
<DependentUpon>MainWindow.axaml</DependentUpon>
|
<DependentUpon>MainWindow.axaml</DependentUpon>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ namespace BathHouseManagmet.Models.Database;
|
||||||
|
|
||||||
public abstract class BaseRepository<T> : IDisposable, IRepository<T> where T : class
|
public abstract class BaseRepository<T> : IDisposable, IRepository<T> where T : class
|
||||||
{
|
{
|
||||||
public abstract List<T> GetPage(int pageNumber, int pageSize);
|
public abstract List<T> GetPage(int? pageNumber, int? pageSize);
|
||||||
public abstract bool Add(T entity);
|
public abstract bool Add(T entity);
|
||||||
public abstract bool Update(T entity);
|
public abstract bool Update(T entity);
|
||||||
public abstract bool Delete(T entity);
|
public abstract bool Delete(T entity);
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,16 @@ public class ClientRepository : BaseRepository<Client>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Client> GetPage(int pageNumber, int pageSize)
|
public override List<Client> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Client> result = new();
|
List<Client> result = new();
|
||||||
string sql = "select * from `client` limit @limit offset @offset";
|
string sql = "select * from `client`";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,16 @@ public class DiscountRepository : BaseRepository<Discount>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Discount> GetPage(int pageNumber, int pageSize)
|
public override List<Discount> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Discount> result = new();
|
List<Discount> result = new();
|
||||||
string sql = "select * from `discount` limit @limit offset @offset";
|
string sql = "select * from `discount`";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,16 @@ public class EmployeeRepository : BaseRepository<Employee>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Employee> GetPage(int pageNumber, int pageSize)
|
public override List<Employee> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Employee> result = new();
|
List<Employee> result = new();
|
||||||
string sql = "select e.id as eid, e.position_id as pid, e.name as ename, e.surname as esurname, p.name as pname from employee e join position p on e.position_id = p.id limit @limit offset @offset";
|
string sql = "select e.id as eid, e.position_id as pid, e.name as ename, e.surname as esurname, p.name as pname from employee e join position p on e.position_id = p.id";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -15,11 +15,17 @@ public class OrderRepository : BaseRepository<Order>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Order> GetPage(int pageNumber, int pageSize)
|
public override List<Order> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Order> result = new();
|
List<Order> result = new();
|
||||||
string sql =
|
string sql =
|
||||||
"select o.id as oid, o.client_id as ocid, o.employee_id as eid, o.discount_id as did, o.service_id as sid, o.zone_id as zid, c.name as cname, c.surname as csurname, o.order_time as otime, e.name as ename, e.surname as esurname, d.name as dname, s.name as sname, z.name as zname from `order` o join client c on o.client_id = c.id join employee e on o.employee_id = e.id join discount d on o.discount_id = d.id join service s on o.service_id = s.id join zone z on o.zone_id = z.id limit @limit offset @offset";
|
"select o.id as oid, o.client_id as ocid, o.employee_id as eid, o.discount_id as did, o.service_id as sid, o.zone_id as zid, c.name as cname, c.surname as csurname, o.order_time as otime, e.name as ename, e.surname as esurname, d.name as dname, s.name as sname, z.name as zname from `order` o join client c on o.client_id = c.id join employee e on o.employee_id = e.id join discount d on o.discount_id = d.id join service s on o.service_id = s.id join zone z on o.zone_id = z.id";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,16 @@ public class PositionRepository : BaseRepository<Position>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Position> GetPage(int pageNumber, int pageSize)
|
public override List<Position> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Position> result = new();
|
List<Position> result = new();
|
||||||
string sql = "select * from `position` limit @limit offset @offset";
|
string sql = "select * from `position`";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,16 @@ public class ServiceRepository : BaseRepository<Service>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Service> GetPage(int pageNumber, int pageSize)
|
public override List<Service> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Service> result = new();
|
List<Service> result = new();
|
||||||
string sql = "select * from `service` limit @limit offset @offset";
|
string sql = "select * from `service`";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,16 @@ public class ZoneRepository : BaseRepository<Zone>, IDisposable
|
||||||
OpenConnection();
|
OpenConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override List<Zone> GetPage(int pageNumber, int pageSize)
|
public override List<Zone> GetPage(int? pageNumber = null, int? pageSize = null)
|
||||||
{
|
{
|
||||||
List<Zone> result = new();
|
List<Zone> result = new();
|
||||||
string sql = "select * from zone limit @limit offset @offset";
|
string sql = "select * from `zone`";
|
||||||
|
|
||||||
|
if (pageNumber.HasValue && pageSize.HasValue)
|
||||||
|
{
|
||||||
|
sql += "limit @limit offset @offset";
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
using var command = new MySqlCommand(sql, connection);
|
using var command = new MySqlCommand(sql, connection);
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ namespace BathHouseManagmet.Models.Interfaces;
|
||||||
|
|
||||||
public interface IRepository<T> where T : class
|
public interface IRepository<T> where T : class
|
||||||
{
|
{
|
||||||
List<T> GetPage(int pageNumber, int pageSize);
|
List<T> GetPage(int? pageNumber, int? pageSize);
|
||||||
bool Add(T entity);
|
bool Add(T entity);
|
||||||
bool Update(T entity);
|
bool Update(T entity);
|
||||||
bool Delete(T entity);
|
bool Delete(T entity);
|
||||||
|
|
|
||||||
10
Program.cs
10
Program.cs
|
|
@ -1,8 +1,10 @@
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
using System;
|
using System;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
|
using BathHouseManagmet.Models;
|
||||||
using BathHouseManagmet.ViewModels;
|
using BathHouseManagmet.ViewModels;
|
||||||
using BathHouseManagmet.Views;
|
using BathHouseManagmet.Views;
|
||||||
|
using BathHouseManagmet.Views.AddWindows;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
|
|
@ -36,6 +38,14 @@ sealed class Program
|
||||||
s.AddTransient<PositionView>();
|
s.AddTransient<PositionView>();
|
||||||
s.AddTransient<ClientViewModel>();
|
s.AddTransient<ClientViewModel>();
|
||||||
s.AddTransient<ClientView>();
|
s.AddTransient<ClientView>();
|
||||||
|
s.AddTransient<AddEmployeeWindowViewModel>();
|
||||||
|
s.AddTransient<AddEmployeeWindow>();
|
||||||
|
s.AddTransient<AddPositionWindowViewModel>();
|
||||||
|
s.AddTransient<AddPositionWindow>();
|
||||||
|
s.AddTransient<AddZoneWindowViewModel>();
|
||||||
|
s.AddTransient<AddZoneWindow>();
|
||||||
|
|
||||||
|
s.AddTransient<Employee>();
|
||||||
|
|
||||||
s.AddTransient<DiscountRepository>();
|
s.AddTransient<DiscountRepository>();
|
||||||
s.AddTransient<ClientRepository>();
|
s.AddTransient<ClientRepository>();
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,83 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class ClientViewModel : ViewModelBase
|
public partial class ClientViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly ClientRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] List<Client> _clients;
|
[ObservableProperty] List<Client> _clients;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string _pageInfo;
|
||||||
|
|
||||||
public ClientViewModel(IServiceProvider serviceProvider, ClientRepository repository)
|
private int currentPage = 0;
|
||||||
|
private int totalPages;
|
||||||
|
|
||||||
|
public ClientViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Clients = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<ClientRepository>())
|
||||||
|
Clients = new List<Client>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5,10,15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new ClientRepository();
|
||||||
|
Clients.Clear();
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(c => Clients.Add(c));
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,23 +1,84 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class DiscountViewModel : ViewModelBase
|
public partial class DiscountViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly DiscountRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] List<Discount> discounts;
|
|
||||||
|
|
||||||
public DiscountViewModel(IServiceProvider serviceProvider, DiscountRepository repository)
|
[ObservableProperty] List<Discount> _discounts;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string _pageInfo;
|
||||||
|
|
||||||
|
private int totalPages;
|
||||||
|
private int currentPage = 0;
|
||||||
|
|
||||||
|
public DiscountViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Discounts = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<DiscountRepository>())
|
||||||
|
Discounts = new List<Discount>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5, 10, 15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
Discounts.Clear();
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(d => Discounts.Add(d));
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,23 +1,93 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class EmployeeViewModel : ViewModelBase
|
public partial class EmployeeViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly EmployeeRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] List<Employee> employees;
|
[ObservableProperty] List<Employee> _employees;
|
||||||
|
[ObservableProperty] List<Position> _positions;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string _pageInfo;
|
||||||
|
|
||||||
public EmployeeViewModel(IServiceProvider serviceProvider, EmployeeRepository repository)
|
private int totalPages;
|
||||||
|
private int currentPage = 0;
|
||||||
|
|
||||||
|
public EmployeeViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<EmployeeRepository>())
|
||||||
|
Employees = new List<Employee>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
Positions = new List<Position>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5, 10, 15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
Employees = _repository.GetPage(1, 1);
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new EmployeeRepository();
|
||||||
|
Employees.Clear();
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(e => Employees.Add(e));
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddWindow()
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -5,13 +5,13 @@ using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class OrderViewModel : ViewModelBase
|
public partial class OrderViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly OrderRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] private int _currentPageSize;
|
[ObservableProperty] private int _currentPageSize;
|
||||||
[ObservableProperty] private List<int> _pageSizes;
|
[ObservableProperty] private List<int> _pageSizes;
|
||||||
|
|
@ -20,18 +20,36 @@ public partial class OrderViewModel : ViewModelBase
|
||||||
private int totalPages;
|
private int totalPages;
|
||||||
|
|
||||||
[ObservableProperty] List<Order> orders;
|
[ObservableProperty] List<Order> orders;
|
||||||
|
[ObservableProperty] List<Employee> employees;
|
||||||
|
[ObservableProperty] List<Position> positions;
|
||||||
|
[ObservableProperty] List<Client> clients;
|
||||||
|
[ObservableProperty] List<Zone> zones;
|
||||||
|
[ObservableProperty] List<Service> services;
|
||||||
|
[ObservableProperty] List<Discount> discounts;
|
||||||
|
|
||||||
public OrderViewModel(IServiceProvider serviceProvider, OrderRepository repository)
|
public OrderViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Orders = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<OrderRepository>())
|
||||||
|
Orders = new List<Order>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<EmployeeRepository>())
|
||||||
|
Employees = new List<Employee>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<ZoneRepository>())
|
||||||
|
Zones = new List<Zone>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<ServiceRepository>())
|
||||||
|
Services = new List<Service>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<ClientRepository>())
|
||||||
|
Clients = new List<Client>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
Positions = new List<Position>(rep.GetPage());
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<DiscountRepository>())
|
||||||
|
Discounts = new List<Discount>(rep.GetPage());
|
||||||
|
|
||||||
PageSizes = new List<int>([5,10,20]);
|
PageSizes = new List<int>([5,10,20]);
|
||||||
//CurrentPageSize = PageSizes.First();
|
CurrentPageSize = PageSizes.First();
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
partial void OnCurrentPageSizeChanged(int value)
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
{
|
{
|
||||||
CalculatePages();
|
CalculatePages();
|
||||||
|
|
@ -80,5 +98,4 @@ public partial class OrderViewModel : ViewModelBase
|
||||||
if (currentPage > 0)
|
if (currentPage > 0)
|
||||||
ShowPage(currentPage - 1);
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,23 +1,86 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class PositionViewModel : ViewModelBase
|
public partial class PositionViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly PositionRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] List<Position> positions;
|
[ObservableProperty] List<Position> _positions;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string pageInfo;
|
||||||
|
|
||||||
public PositionViewModel(IServiceProvider serviceProvider, PositionRepository repository)
|
private int currentPage = 0;
|
||||||
|
private int totalPages;
|
||||||
|
|
||||||
|
public PositionViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Positions = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
Positions = new List<Position>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5, 10, 15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new PositionRepository();
|
||||||
|
Positions.Clear();
|
||||||
|
using (var rep = _serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
{
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(p => Positions.Add(p));
|
||||||
|
}
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,23 +1,83 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class ServiceViewModel : ViewModelBase
|
public partial class ServiceViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly ServiceRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] List<Service> services;
|
[ObservableProperty] List<Service> services;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string _pageInfo;
|
||||||
|
|
||||||
public ServiceViewModel(IServiceProvider serviceProvider, ServiceRepository repository)
|
private int totalPages;
|
||||||
|
private int currentPage = 0;
|
||||||
|
|
||||||
|
public ServiceViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Services = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<ServiceRepository>())
|
||||||
|
Services = new List<Service>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5, 10, 15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new ServiceRepository();
|
||||||
|
Services.Clear();
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(s => services.Add(s));
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,23 +1,83 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public partial class ZoneViewModel : ViewModelBase
|
public partial class ZoneViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly ZoneRepository _repository;
|
|
||||||
|
|
||||||
[ObservableProperty] private List<Zone> zones;
|
[ObservableProperty] private List<Zone> zones;
|
||||||
|
[ObservableProperty] int _currentPageSize;
|
||||||
|
[ObservableProperty] List<int> _pageSizes;
|
||||||
|
[ObservableProperty] string _pageInfo;
|
||||||
|
|
||||||
|
private int totalPages;
|
||||||
|
private int currentPage = 0;
|
||||||
|
|
||||||
public ZoneViewModel(IServiceProvider serviceProvider, ZoneRepository repository)
|
public ZoneViewModel(IServiceProvider serviceProvider)
|
||||||
{
|
{
|
||||||
_serviceProvider = serviceProvider;
|
_serviceProvider = serviceProvider;
|
||||||
_repository = repository;
|
|
||||||
|
|
||||||
Zones = _repository.GetPage(1, 1);
|
using (var rep = serviceProvider.GetRequiredService<ZoneRepository>())
|
||||||
|
Zones = new List<Zone>(rep.GetPage());
|
||||||
|
|
||||||
|
PageSizes = new List<int>([5, 10, 15]);
|
||||||
|
CurrentPageSize = PageSizes.First();
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnCurrentPageSizeChanged(int value)
|
||||||
|
{
|
||||||
|
CalculatePage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CalculatePage()
|
||||||
|
{
|
||||||
|
using var db = new DiscountRepository();
|
||||||
|
var rowsCount = db.GetRowsCount();
|
||||||
|
totalPages = (int)Math.Ceiling(((double)rowsCount / CurrentPageSize));
|
||||||
|
ShowFirstPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShowPage(int pageIndex)
|
||||||
|
{
|
||||||
|
currentPage = pageIndex;
|
||||||
|
using var db = new ZoneRepository();
|
||||||
|
Zones.Clear();
|
||||||
|
var rows = db.GetPage(pageIndex, CurrentPageSize);
|
||||||
|
rows.ForEach(z => Zones.Add(z));
|
||||||
|
PageInfo = $"Страница {currentPage + 1} из {totalPages}";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowFirstPage()
|
||||||
|
{
|
||||||
|
ShowPage(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowLastPage()
|
||||||
|
{
|
||||||
|
ShowPage(totalPages - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowNextPage()
|
||||||
|
{
|
||||||
|
if (currentPage < totalPages - 1)
|
||||||
|
ShowPage(currentPage + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
private void ShowPreviousPage()
|
||||||
|
{
|
||||||
|
if (currentPage > 0)
|
||||||
|
ShowPage(currentPage - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using BathHouseManagmet.Database;
|
||||||
|
using BathHouseManagmet.Models;
|
||||||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
|
public partial class AddEmployeeWindowViewModel : ViewModelBase
|
||||||
|
{
|
||||||
|
private readonly IServiceProvider _serviceProvider;
|
||||||
|
|
||||||
|
[ObservableProperty] private string _employeeName;
|
||||||
|
[ObservableProperty] private string _employeeSurname;
|
||||||
|
[ObservableProperty] private Position _employeePosition;
|
||||||
|
|
||||||
|
[ObservableProperty] private List<Employee> _employees;
|
||||||
|
[ObservableProperty] private List<Position> _positions;
|
||||||
|
[ObservableProperty] private Position _selectedPosition;
|
||||||
|
|
||||||
|
public AddEmployeeWindowViewModel(IServiceProvider serviceProvider)
|
||||||
|
{
|
||||||
|
_serviceProvider = serviceProvider;
|
||||||
|
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<EmployeeRepository>())
|
||||||
|
Employees = new List<Employee>(rep.GetPage());
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddEmployee()
|
||||||
|
{
|
||||||
|
var emp = new Employee()
|
||||||
|
{
|
||||||
|
Name = EmployeeName,
|
||||||
|
Surname = EmployeeSurname,
|
||||||
|
Position = EmployeePosition
|
||||||
|
};
|
||||||
|
|
||||||
|
using (var rep = _serviceProvider.GetRequiredService<EmployeeRepository>())
|
||||||
|
rep.Add(emp);
|
||||||
|
CloseWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Прикольная штука, пользоваться можно. Но как мать его работать с MessageBox??
|
||||||
|
private bool Validate()
|
||||||
|
{
|
||||||
|
if (string.IsNullOrWhiteSpace(_employeeName) || string.IsNullOrWhiteSpace(_employeeSurname))
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void CloseWindow()
|
||||||
|
{
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private Action close;
|
||||||
|
public void SetClose(Action close)
|
||||||
|
{
|
||||||
|
this.close = close;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using BathHouseManagmet.Database;
|
||||||
|
using BathHouseManagmet.Models;
|
||||||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
|
public partial class AddPositionWindowViewModel : ViewModelBase
|
||||||
|
{
|
||||||
|
private readonly IServiceProvider _serviceProvider;
|
||||||
|
|
||||||
|
[ObservableProperty] private string _positionName;
|
||||||
|
[ObservableProperty] private List<Position> _positions;
|
||||||
|
|
||||||
|
public AddPositionWindowViewModel(IServiceProvider serviceProvider)
|
||||||
|
{
|
||||||
|
_serviceProvider = serviceProvider;
|
||||||
|
|
||||||
|
using (var rep = serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
Positions = new List<Position>(rep.GetPage());
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddPosition()
|
||||||
|
{
|
||||||
|
var pos = new Position()
|
||||||
|
{
|
||||||
|
Name = PositionName
|
||||||
|
};
|
||||||
|
|
||||||
|
using (var rep = _serviceProvider.GetRequiredService<PositionRepository>())
|
||||||
|
rep.Add(pos);
|
||||||
|
CloseWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void CloseWindow()
|
||||||
|
{
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private Action close;
|
||||||
|
public void SetClose(Action close)
|
||||||
|
{
|
||||||
|
this.close = close;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using BathHouseManagmet.Database;
|
||||||
|
using BathHouseManagmet.Models;
|
||||||
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
|
public partial class AddZoneWindowViewModel : ViewModelBase
|
||||||
|
{
|
||||||
|
private readonly IServiceProvider _serviceProvider;
|
||||||
|
[ObservableProperty] List<Zone> _zones;
|
||||||
|
[ObservableProperty] string _zoneName;
|
||||||
|
|
||||||
|
public AddZoneWindowViewModel(IServiceProvider serviceProvider)
|
||||||
|
{
|
||||||
|
_serviceProvider = serviceProvider;
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddZone()
|
||||||
|
{
|
||||||
|
var zone = new Zone
|
||||||
|
{
|
||||||
|
Name = ZoneName
|
||||||
|
};
|
||||||
|
|
||||||
|
using (var rep = _serviceProvider.GetRequiredService<ZoneRepository>())
|
||||||
|
rep.Add(zone);
|
||||||
|
CloseWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void CloseWindow()
|
||||||
|
{
|
||||||
|
close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private Action close;
|
||||||
|
public void SetClose(Action close)
|
||||||
|
{
|
||||||
|
this.close = close;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,10 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using BathHouseManagmet.Database;
|
using BathHouseManagmet.Database;
|
||||||
using BathHouseManagmet.Models;
|
using BathHouseManagmet.Models;
|
||||||
|
using BathHouseManagmet.Views;
|
||||||
|
using BathHouseManagmet.Views.AddWindows;
|
||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
namespace BathHouseManagmet.ViewModels;
|
namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
@ -29,4 +32,34 @@ public partial class MainWindowViewModel : ViewModelBase
|
||||||
DiscountViewModel = _serviceProvider.GetRequiredService<DiscountViewModel>();
|
DiscountViewModel = _serviceProvider.GetRequiredService<DiscountViewModel>();
|
||||||
PositionViewModel = _serviceProvider.GetRequiredService<PositionViewModel>();
|
PositionViewModel = _serviceProvider.GetRequiredService<PositionViewModel>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddEmployee()
|
||||||
|
{
|
||||||
|
var vm = ActivatorUtilities.CreateInstance<AddEmployeeWindowViewModel>(_serviceProvider);
|
||||||
|
var win = _serviceProvider.GetService<AddEmployeeWindow>();
|
||||||
|
win.DataContext = vm;
|
||||||
|
win.Show();
|
||||||
|
vm.SetClose(win.Close);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddPosition()
|
||||||
|
{
|
||||||
|
var vm = ActivatorUtilities.CreateInstance<AddPositionWindowViewModel>(_serviceProvider);
|
||||||
|
var win = _serviceProvider.GetService<AddPositionWindow>();
|
||||||
|
win.DataContext = vm;
|
||||||
|
win.Show();
|
||||||
|
vm.SetClose(win.Close);
|
||||||
|
}
|
||||||
|
|
||||||
|
[RelayCommand]
|
||||||
|
public void AddZone()
|
||||||
|
{
|
||||||
|
var vm = ActivatorUtilities.CreateInstance<AddZoneWindowViewModel>(_serviceProvider);
|
||||||
|
var win = _serviceProvider.GetService<AddZoneWindow>();
|
||||||
|
win.DataContext = vm;
|
||||||
|
win.Show();
|
||||||
|
vm.SetClose(win.Close);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -4,4 +4,5 @@ namespace BathHouseManagmet.ViewModels;
|
||||||
|
|
||||||
public abstract class ViewModelBase : ObservableObject
|
public abstract class ViewModelBase : ObservableObject
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:viewModels="clr-namespace:BathHouseManagmet.ViewModels"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="BathHouseManagmet.Views.AddWindows.AddEmployeeWindow"
|
||||||
|
Title="AddEmployeeWindow"
|
||||||
|
x:DataType="viewModels:AddEmployeeWindowViewModel">
|
||||||
|
|
||||||
|
<StackPanel HorizontalAlignment="Center">
|
||||||
|
|
||||||
|
<TextBlock Text="Введите имя:"/>
|
||||||
|
<TextBox Text="{Binding EmployeeName}"/>
|
||||||
|
|
||||||
|
<TextBlock Text="Введите фамилию:"/>
|
||||||
|
<TextBox Text="{Binding EmployeeSurname}"/>
|
||||||
|
|
||||||
|
<TextBlock Text="Выберите должность:"/>
|
||||||
|
<!-- <ComboBox ItemsSource="{Binding EmployeePosition}"
|
||||||
|
SelectedItem="{Binding SelectedPosition}">
|
||||||
|
<ComboBox.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<TextBlock Text="{Binding Name}" />
|
||||||
|
</DataTemplate>
|
||||||
|
</ComboBox.ItemTemplate>
|
||||||
|
</ComboBox> -->
|
||||||
|
|
||||||
|
<Button Content="Отменить" HorizontalAlignment="Left" Command="{Binding CloseWindowCommand}"/>
|
||||||
|
<Button Content="Сохранить" HorizontalAlignment="Right" Command="{Binding AddEmployeeCommand}"/>
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
</Window>
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.Views.AddWindows;
|
||||||
|
|
||||||
|
public partial class AddEmployeeWindow : Window
|
||||||
|
{
|
||||||
|
public AddEmployeeWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:viewModels="clr-namespace:BathHouseManagmet.ViewModels"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="BathHouseManagmet.Views.AddWindows.AddPositionWindow"
|
||||||
|
Title="AddPositionWindow"
|
||||||
|
x:DataType="viewModels:AddPositionWindowViewModel">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock Text="Введите название должности: "/>
|
||||||
|
<TextBox Text="{Binding PositionName}" />
|
||||||
|
|
||||||
|
<Button Content="Сохранить" Command="{Binding AddPositionCommand}"/>
|
||||||
|
<Button Content="Отменить" Command="{Binding CloseWindowCommand}"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Window>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.Views.AddWindows;
|
||||||
|
|
||||||
|
public partial class AddPositionWindow : Window
|
||||||
|
{
|
||||||
|
public AddPositionWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:viewModels="clr-namespace:BathHouseManagmet.ViewModels"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="BathHouseManagmet.Views.AddWindows.AddZoneWindow"
|
||||||
|
Title="AddZoneWindow"
|
||||||
|
x:DataType="viewModels:AddZoneWindowViewModel">
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock Text="Введите название зоны: "/>
|
||||||
|
<TextBox Text="{Binding ZoneName}" />
|
||||||
|
|
||||||
|
<Button Content="Сохранить" Command="{Binding AddZoneCommand}"/>
|
||||||
|
<Button Content="Отменить" Command="{Binding CloseWindowCommand}"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Window>
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace BathHouseManagmet.Views.AddWindows;
|
||||||
|
|
||||||
|
public partial class AddZoneWindow : Window
|
||||||
|
{
|
||||||
|
public AddZoneWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
Title="BathHouseManagment">
|
Title="BathHouseManagment">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TabControl TabStripPlacement="Left">
|
<TabControl TabStripPlacement="Left">
|
||||||
<TabItem Header="Основная информация">
|
<TabItem Header="Информация">
|
||||||
<TabControl TabStripPlacement="Top">
|
<TabControl TabStripPlacement="Top">
|
||||||
<TabItem Header="Заказы">
|
<TabItem Header="Заказы">
|
||||||
<ContentControl Content="{Binding OrderViewModel}"/>
|
<ContentControl Content="{Binding OrderViewModel}"/>
|
||||||
|
|
@ -27,11 +27,17 @@
|
||||||
<TabItem Header="Скидки">
|
<TabItem Header="Скидки">
|
||||||
<ContentControl Content="{Binding DiscountViewModel}"/>
|
<ContentControl Content="{Binding DiscountViewModel}"/>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem Header="Должность">
|
<TabItem Header="Должности">
|
||||||
<ContentControl Content="{Binding PositionViewModel}"/>
|
<ContentControl Content="{Binding PositionViewModel}"/>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
<TabItem Header="Управление">
|
||||||
|
<TabControl>
|
||||||
|
<Button Content="Добавить должность" Command="{Binding AddPositionCommand}"/>
|
||||||
|
<Button Content="Добавить зону" Command="{Binding AddZoneCommand}"/>
|
||||||
|
</TabControl>
|
||||||
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
||||||
|
|
@ -1,27 +1,25 @@
|
||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj": {}
|
"C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj": {
|
"C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectUniqueName": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"projectName": "BathHouseManagmet",
|
"projectName": "BathHouseManagmet",
|
||||||
"projectPath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"packagesPath": "C:\\Users\\Mikhail\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\august\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\obj\\",
|
"outputPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Mikhail\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\august\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
"net10.0"
|
"net10.0"
|
||||||
],
|
],
|
||||||
"sources": {
|
"sources": {
|
||||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
|
|
@ -40,7 +38,7 @@
|
||||||
"auditLevel": "low",
|
"auditLevel": "low",
|
||||||
"auditMode": "all"
|
"auditMode": "all"
|
||||||
},
|
},
|
||||||
"SdkAnalysisLevel": "10.0.100"
|
"SdkAnalysisLevel": "10.0.300"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net10.0": {
|
"net10.0": {
|
||||||
|
|
@ -74,6 +72,10 @@
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[8.2.1, )"
|
"version": "[8.2.1, )"
|
||||||
},
|
},
|
||||||
|
"MessageBox": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[2.1.0, )"
|
||||||
|
},
|
||||||
"Microsoft.Extensions.Hosting": {
|
"Microsoft.Extensions.Hosting": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[11.0.0-preview.3.26207.106, )"
|
"version": "[11.0.0-preview.3.26207.106, )"
|
||||||
|
|
@ -99,7 +101,7 @@
|
||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Users\\Mikhail\\.dotnet\\sdk\\10.0.101/PortableRuntimeIdentifierGraph.json",
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json",
|
||||||
"packagesToPrune": {
|
"packagesToPrune": {
|
||||||
"Microsoft.CSharp": "(,4.7.32767]",
|
"Microsoft.CSharp": "(,4.7.32767]",
|
||||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@
|
||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Mikhail\.nuget\packages\</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\august\.nuget\packages\</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\Mikhail\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\august\.nuget\packages\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<Import Project="$(NuGetPackageRoot)skiasharp.nativeassets.webassembly\2.88.9\buildTransitive\netstandard1.0\SkiaSharp.NativeAssets.WebAssembly.props" Condition="Exists('$(NuGetPackageRoot)skiasharp.nativeassets.webassembly\2.88.9\buildTransitive\netstandard1.0\SkiaSharp.NativeAssets.WebAssembly.props')" />
|
<Import Project="$(NuGetPackageRoot)skiasharp.nativeassets.webassembly\2.88.9\buildTransitive\netstandard1.0\SkiaSharp.NativeAssets.WebAssembly.props" Condition="Exists('$(NuGetPackageRoot)skiasharp.nativeassets.webassembly\2.88.9\buildTransitive\netstandard1.0\SkiaSharp.NativeAssets.WebAssembly.props')" />
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<Import Project="$(NuGetPackageRoot)avalonia\11.3.10\buildTransitive\Avalonia.props" Condition="Exists('$(NuGetPackageRoot)avalonia\11.3.10\buildTransitive\Avalonia.props')" />
|
<Import Project="$(NuGetPackageRoot)avalonia\11.3.10\buildTransitive\Avalonia.props" Condition="Exists('$(NuGetPackageRoot)avalonia\11.3.10\buildTransitive\Avalonia.props')" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<PkgAvalonia_BuildServices Condition=" '$(PkgAvalonia_BuildServices)' == '' ">C:\Users\Mikhail\.nuget\packages\avalonia.buildservices\11.3.2</PkgAvalonia_BuildServices>
|
<PkgAvalonia_BuildServices Condition=" '$(PkgAvalonia_BuildServices)' == '' ">C:\Users\august\.nuget\packages\avalonia.buildservices\11.3.2</PkgAvalonia_BuildServices>
|
||||||
<PkgAvalonia Condition=" '$(PkgAvalonia)' == '' ">C:\Users\Mikhail\.nuget\packages\avalonia\11.3.10</PkgAvalonia>
|
<PkgAvalonia Condition=" '$(PkgAvalonia)' == '' ">C:\Users\august\.nuget\packages\avalonia\11.3.10</PkgAvalonia>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -1 +1 @@
|
||||||
942a839708d7cce8ab05c02fe65f26bee847b4d21d2979d45818fcd6d9a822c4
|
5701949aed34672487a5b52a8c51ddb1de93b4a55d04b32b2b14aecc57c0ed85
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -13,7 +13,7 @@ using System.Reflection;
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("BathHouseManagmet")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("BathHouseManagmet")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+924827d2dc42773fa3d9118f0596f882373d2c67")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+66a011e33c6d54c0616e63d203956099fda9c81f")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("BathHouseManagmet")]
|
[assembly: System.Reflection.AssemblyProductAttribute("BathHouseManagmet")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("BathHouseManagmet")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("BathHouseManagmet")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
203883aab9b08b3fd8124d36758bb7103eeaea559e7819678d19054bef848fc5
|
61d476c04075d17df2e69c8326844fd9f8d84c937081e16ee061dd14bf9444bc
|
||||||
|
|
|
||||||
|
|
@ -15,37 +15,47 @@ build_property.ProjectTypeGuids =
|
||||||
build_property.InvariantGlobalization =
|
build_property.InvariantGlobalization =
|
||||||
build_property.PlatformNeutralAssembly =
|
build_property.PlatformNeutralAssembly =
|
||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property.EntryPointFilePath =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = BathHouseManagmet
|
build_property.RootNamespace = BathHouseManagmet
|
||||||
build_property.ProjectDir = C:\Users\Mikhail\RiderProjects\BathHouseManagmet\
|
build_property.ProjectDir = C:\Users\august\RiderProjects\BathHouseManagmet\
|
||||||
build_property.EnableComHosting =
|
build_property.EnableComHosting =
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
build_property.EffectiveAnalysisLevelStyle = 10.0
|
build_property.EffectiveAnalysisLevelStyle = 10.0
|
||||||
build_property.EnableCodeStyleSeverity =
|
build_property.EnableCodeStyleSeverity =
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/App.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/App.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/ClientView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/AddWindows/AddEmployeeWindow.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/DiscountView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/AddWindows/AddPositionWindow.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/EmployeeView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/AddWindows/AddZoneWindow.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/OrderView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/ClientView.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/PositionView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/DiscountView.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/ServiceView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/EmployeeView.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/UserControls/ZoneView.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/OrderView.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
[C:/Users/Mikhail/RiderProjects/BathHouseManagmet/Views/Windows/MainWindow.axaml]
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/PositionView.axaml]
|
||||||
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/ServiceView.axaml]
|
||||||
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/UserControls/ZoneView.axaml]
|
||||||
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
||||||
|
[C:/Users/august/RiderProjects/BathHouseManagmet/Views/Windows/MainWindow.axaml]
|
||||||
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -480,6 +480,15 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"MessageBox/2.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"compile": {
|
||||||
|
"lib/net461/Gat.Controls.MessageBox.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net461/Gat.Controls.MessageBox.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
"MicroCom.Runtime/0.11.0": {
|
"MicroCom.Runtime/0.11.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
|
|
@ -1934,6 +1943,25 @@
|
||||||
"runtimes/win-x86/native/libHarfBuzzSharp.dll"
|
"runtimes/win-x86/native/libHarfBuzzSharp.dll"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"MessageBox/2.1.0": {
|
||||||
|
"sha512": "nhzMuxq7TPMs4q5XkEawAPiKmxnhVOtWd65/bjqnLvFyuApdB1+OObtF6cecAFn5eFuJV9gljXQzFABFDKGEeQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "messagebox/2.1.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"License.txt",
|
||||||
|
"lib/net35/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net40/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net45/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net451/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net452/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net46/Gat.Controls.MessageBox.dll",
|
||||||
|
"lib/net461/Gat.Controls.MessageBox.dll",
|
||||||
|
"messagebox.2.1.0.nupkg.sha512",
|
||||||
|
"messagebox.nuspec"
|
||||||
|
]
|
||||||
|
},
|
||||||
"MicroCom.Runtime/0.11.0": {
|
"MicroCom.Runtime/0.11.0": {
|
||||||
"sha512": "MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==",
|
"sha512": "MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
|
|
@ -3181,31 +3209,30 @@
|
||||||
"Avalonia.Fonts.Inter >= 11.3.10",
|
"Avalonia.Fonts.Inter >= 11.3.10",
|
||||||
"Avalonia.Themes.Fluent >= 11.3.10",
|
"Avalonia.Themes.Fluent >= 11.3.10",
|
||||||
"CommunityToolkit.Mvvm >= 8.2.1",
|
"CommunityToolkit.Mvvm >= 8.2.1",
|
||||||
|
"MessageBox >= 2.1.0",
|
||||||
"Microsoft.Extensions.Hosting >= 11.0.0-preview.3.26207.106",
|
"Microsoft.Extensions.Hosting >= 11.0.0-preview.3.26207.106",
|
||||||
"MySqlConnector >= 2.5.0"
|
"MySqlConnector >= 2.5.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\": {}
|
"C:\\Users\\august\\.nuget\\packages\\": {}
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectUniqueName": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"projectName": "BathHouseManagmet",
|
"projectName": "BathHouseManagmet",
|
||||||
"projectPath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"packagesPath": "C:\\Users\\Mikhail\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\august\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\obj\\",
|
"outputPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Mikhail\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\august\\AppData\\Roaming\\NuGet\\NuGet.Config"
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
"net10.0"
|
"net10.0"
|
||||||
],
|
],
|
||||||
"sources": {
|
"sources": {
|
||||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
|
|
@ -3224,7 +3251,7 @@
|
||||||
"auditLevel": "low",
|
"auditLevel": "low",
|
||||||
"auditMode": "all"
|
"auditMode": "all"
|
||||||
},
|
},
|
||||||
"SdkAnalysisLevel": "10.0.100"
|
"SdkAnalysisLevel": "10.0.300"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net10.0": {
|
"net10.0": {
|
||||||
|
|
@ -3258,6 +3285,10 @@
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[8.2.1, )"
|
"version": "[8.2.1, )"
|
||||||
},
|
},
|
||||||
|
"MessageBox": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[2.1.0, )"
|
||||||
|
},
|
||||||
"Microsoft.Extensions.Hosting": {
|
"Microsoft.Extensions.Hosting": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[11.0.0-preview.3.26207.106, )"
|
"version": "[11.0.0-preview.3.26207.106, )"
|
||||||
|
|
@ -3283,7 +3314,7 @@
|
||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Users\\Mikhail\\.dotnet\\sdk\\10.0.101/PortableRuntimeIdentifierGraph.json",
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.301/PortableRuntimeIdentifierGraph.json",
|
||||||
"packagesToPrune": {
|
"packagesToPrune": {
|
||||||
"Microsoft.CSharp": "(,4.7.32767]",
|
"Microsoft.CSharp": "(,4.7.32767]",
|
||||||
"Microsoft.VisualBasic": "(,10.4.32767]",
|
"Microsoft.VisualBasic": "(,10.4.32767]",
|
||||||
|
|
@ -3571,6 +3602,16 @@
|
||||||
"targetGraphs": [
|
"targetGraphs": [
|
||||||
"net10.0"
|
"net10.0"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "NU1701",
|
||||||
|
"level": "Warning",
|
||||||
|
"warningLevel": 1,
|
||||||
|
"message": "Package 'MessageBox 2.1.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net10.0'. This package may not be fully compatible with your project.",
|
||||||
|
"libraryId": "MessageBox",
|
||||||
|
"targetGraphs": [
|
||||||
|
"net10.0"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1,84 +1,97 @@
|
||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "WewDm+VE+hc=",
|
"dgSpecHash": "SkO2+lm0kg8=",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectFilePath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia\\11.3.10\\avalonia.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia\\11.3.10\\avalonia.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.angle.windows.natives\\2.1.25547.20250602\\avalonia.angle.windows.natives.2.1.25547.20250602.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.angle.windows.natives\\2.1.25547.20250602\\avalonia.angle.windows.natives.2.1.25547.20250602.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.buildservices\\11.3.2\\avalonia.buildservices.11.3.2.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.buildservices\\11.3.2\\avalonia.buildservices.11.3.2.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.controls.colorpicker\\11.3.10\\avalonia.controls.colorpicker.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.controls.colorpicker\\11.3.10\\avalonia.controls.colorpicker.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.controls.datagrid\\11.3.10\\avalonia.controls.datagrid.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.controls.datagrid\\11.3.10\\avalonia.controls.datagrid.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.desktop\\11.3.10\\avalonia.desktop.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.desktop\\11.3.10\\avalonia.desktop.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.diagnostics\\11.3.10\\avalonia.diagnostics.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.diagnostics\\11.3.10\\avalonia.diagnostics.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.fonts.inter\\11.3.10\\avalonia.fonts.inter.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.fonts.inter\\11.3.10\\avalonia.fonts.inter.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.freedesktop\\11.3.10\\avalonia.freedesktop.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.freedesktop\\11.3.10\\avalonia.freedesktop.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.native\\11.3.10\\avalonia.native.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.native\\11.3.10\\avalonia.native.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.remote.protocol\\11.3.10\\avalonia.remote.protocol.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.remote.protocol\\11.3.10\\avalonia.remote.protocol.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.skia\\11.3.10\\avalonia.skia.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.skia\\11.3.10\\avalonia.skia.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.themes.fluent\\11.3.10\\avalonia.themes.fluent.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.themes.fluent\\11.3.10\\avalonia.themes.fluent.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.themes.simple\\11.3.10\\avalonia.themes.simple.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.themes.simple\\11.3.10\\avalonia.themes.simple.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.win32\\11.3.10\\avalonia.win32.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.win32\\11.3.10\\avalonia.win32.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\avalonia.x11\\11.3.10\\avalonia.x11.11.3.10.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\avalonia.x11\\11.3.10\\avalonia.x11.11.3.10.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\communitytoolkit.mvvm\\8.2.1\\communitytoolkit.mvvm.8.2.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\communitytoolkit.mvvm\\8.2.1\\communitytoolkit.mvvm.8.2.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\harfbuzzsharp\\8.3.1.1\\harfbuzzsharp.8.3.1.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\harfbuzzsharp\\8.3.1.1\\harfbuzzsharp.8.3.1.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\harfbuzzsharp.nativeassets.linux\\8.3.1.1\\harfbuzzsharp.nativeassets.linux.8.3.1.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\harfbuzzsharp.nativeassets.linux\\8.3.1.1\\harfbuzzsharp.nativeassets.linux.8.3.1.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\harfbuzzsharp.nativeassets.macos\\8.3.1.1\\harfbuzzsharp.nativeassets.macos.8.3.1.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\harfbuzzsharp.nativeassets.macos\\8.3.1.1\\harfbuzzsharp.nativeassets.macos.8.3.1.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\harfbuzzsharp.nativeassets.webassembly\\8.3.1.1\\harfbuzzsharp.nativeassets.webassembly.8.3.1.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\harfbuzzsharp.nativeassets.webassembly\\8.3.1.1\\harfbuzzsharp.nativeassets.webassembly.8.3.1.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\harfbuzzsharp.nativeassets.win32\\8.3.1.1\\harfbuzzsharp.nativeassets.win32.8.3.1.1.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\harfbuzzsharp.nativeassets.win32\\8.3.1.1\\harfbuzzsharp.nativeassets.win32.8.3.1.1.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microcom.runtime\\0.11.0\\microcom.runtime.0.11.0.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\messagebox\\2.1.0\\messagebox.2.1.0.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microcom.runtime\\0.11.0\\microcom.runtime.0.11.0.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.binder\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.binder.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.commandline.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.binder\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.binder.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.environmentvariables.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.commandline.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.fileextensions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.environmentvariables.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.json\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.json.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.fileextensions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.usersecrets.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.json\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.json.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\11.0.0-preview.3.26207.106\\microsoft.extensions.dependencyinjection.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\11.0.0-preview.3.26207.106\\microsoft.extensions.configuration.usersecrets.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.dependencyinjection.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\11.0.0-preview.3.26207.106\\microsoft.extensions.dependencyinjection.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.diagnostics\\11.0.0-preview.3.26207.106\\microsoft.extensions.diagnostics.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.dependencyinjection.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.diagnostics.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.diagnostics\\11.0.0-preview.3.26207.106\\microsoft.extensions.diagnostics.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.fileproviders.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.diagnostics.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\11.0.0-preview.3.26207.106\\microsoft.extensions.fileproviders.physical.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.fileproviders.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\11.0.0-preview.3.26207.106\\microsoft.extensions.filesystemglobbing.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\11.0.0-preview.3.26207.106\\microsoft.extensions.fileproviders.physical.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.hosting\\11.0.0-preview.3.26207.106\\microsoft.extensions.hosting.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\11.0.0-preview.3.26207.106\\microsoft.extensions.filesystemglobbing.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.hosting.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.hosting\\11.0.0-preview.3.26207.106\\microsoft.extensions.hosting.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.hosting.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.configuration\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.configuration.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.abstractions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.console\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.console.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.configuration\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.configuration.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.debug\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.debug.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.console\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.console.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.eventlog.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.debug\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.debug.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.eventsource.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.eventlog.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.options\\11.0.0-preview.3.26207.106\\microsoft.extensions.options.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\11.0.0-preview.3.26207.106\\microsoft.extensions.logging.eventsource.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\11.0.0-preview.3.26207.106\\microsoft.extensions.options.configurationextensions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.options\\11.0.0-preview.3.26207.106\\microsoft.extensions.options.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\microsoft.extensions.primitives\\11.0.0-preview.3.26207.106\\microsoft.extensions.primitives.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\11.0.0-preview.3.26207.106\\microsoft.extensions.options.configurationextensions.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\mysqlconnector\\2.5.0\\mysqlconnector.2.5.0.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\microsoft.extensions.primitives\\11.0.0-preview.3.26207.106\\microsoft.extensions.primitives.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\skiasharp\\2.88.9\\skiasharp.2.88.9.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\mysqlconnector\\2.5.0\\mysqlconnector.2.5.0.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\skiasharp.nativeassets.linux\\2.88.9\\skiasharp.nativeassets.linux.2.88.9.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\skiasharp\\2.88.9\\skiasharp.2.88.9.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\skiasharp.nativeassets.macos\\2.88.9\\skiasharp.nativeassets.macos.2.88.9.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\skiasharp.nativeassets.linux\\2.88.9\\skiasharp.nativeassets.linux.2.88.9.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\skiasharp.nativeassets.webassembly\\2.88.9\\skiasharp.nativeassets.webassembly.2.88.9.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\skiasharp.nativeassets.macos\\2.88.9\\skiasharp.nativeassets.macos.2.88.9.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\skiasharp.nativeassets.win32\\2.88.9\\skiasharp.nativeassets.win32.2.88.9.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\skiasharp.nativeassets.webassembly\\2.88.9\\skiasharp.nativeassets.webassembly.2.88.9.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\system.diagnostics.diagnosticsource\\11.0.0-preview.3.26207.106\\system.diagnostics.diagnosticsource.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\skiasharp.nativeassets.win32\\2.88.9\\skiasharp.nativeassets.win32.2.88.9.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\system.diagnostics.eventlog\\11.0.0-preview.3.26207.106\\system.diagnostics.eventlog.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\system.diagnostics.diagnosticsource\\11.0.0-preview.3.26207.106\\system.diagnostics.diagnosticsource.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\system.io.pipelines\\11.0.0-preview.3.26207.106\\system.io.pipelines.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\system.diagnostics.eventlog\\11.0.0-preview.3.26207.106\\system.diagnostics.eventlog.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\system.text.encodings.web\\11.0.0-preview.3.26207.106\\system.text.encodings.web.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\system.io.pipelines\\11.0.0-preview.3.26207.106\\system.io.pipelines.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\system.text.json\\11.0.0-preview.3.26207.106\\system.text.json.11.0.0-preview.3.26207.106.nupkg.sha512",
|
"C:\\Users\\august\\.nuget\\packages\\system.text.encodings.web\\11.0.0-preview.3.26207.106\\system.text.encodings.web.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
"C:\\Users\\Mikhail\\.nuget\\packages\\tmds.dbus.protocol\\0.21.2\\tmds.dbus.protocol.0.21.2.nupkg.sha512"
|
"C:\\Users\\august\\.nuget\\packages\\system.text.json\\11.0.0-preview.3.26207.106\\system.text.json.11.0.0-preview.3.26207.106.nupkg.sha512",
|
||||||
|
"C:\\Users\\august\\.nuget\\packages\\tmds.dbus.protocol\\0.21.2\\tmds.dbus.protocol.0.21.2.nupkg.sha512"
|
||||||
],
|
],
|
||||||
"logs": [
|
"logs": [
|
||||||
{
|
{
|
||||||
"code": "NU1903",
|
"code": "NU1903",
|
||||||
"level": "Warning",
|
"level": "Warning",
|
||||||
"message": "Package 'Tmds.DBus.Protocol' 0.21.2 has a known high severity vulnerability, https://github.com/advisories/GHSA-xrw6-gwf8-vvr9",
|
"message": "Package 'Tmds.DBus.Protocol' 0.21.2 has a known high severity vulnerability, https://github.com/advisories/GHSA-xrw6-gwf8-vvr9",
|
||||||
"projectPath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"projectPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"warningLevel": 1,
|
"warningLevel": 1,
|
||||||
"filePath": "C:\\Users\\Mikhail\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
"filePath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
"libraryId": "Tmds.DBus.Protocol",
|
"libraryId": "Tmds.DBus.Protocol",
|
||||||
"targetGraphs": [
|
"targetGraphs": [
|
||||||
"net10.0"
|
"net10.0"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "NU1701",
|
||||||
|
"level": "Warning",
|
||||||
|
"message": "Package 'MessageBox 2.1.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net10.0'. This package may not be fully compatible with your project.",
|
||||||
|
"projectPath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
|
"warningLevel": 1,
|
||||||
|
"filePath": "C:\\Users\\august\\RiderProjects\\BathHouseManagmet\\BathHouseManagmet.csproj",
|
||||||
|
"libraryId": "MessageBox",
|
||||||
|
"targetGraphs": [
|
||||||
|
"net10.0"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
17780383974089094
|
17815071369321682
|
||||||
|
|
@ -1 +1 @@
|
||||||
17780383974089094
|
17815071369321682
|
||||||
Loading…
Reference in New Issue