downloading packages, so much comments

This commit is contained in:
ekallin 2023-11-20 14:54:32 +04:00
parent 777185f03b
commit 8457a1d8dc
2 changed files with 15 additions and 4 deletions

View File

@ -1,8 +1,9 @@
using ElectricLocomotive;
using Microsoft.Extensions.Logging;
//using ElectricLocomotive;
using ProjectElectricLocomotive.DrawingObjects;
using ProjectElectricLocomotive.Exceptions;
using ProjectElectricLocomotive.Generics;
using ProjectElectricLocomotive.MovementStrategy;
/*using ProjectElectricLocomotive.MovementStrategy;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@ -10,7 +11,7 @@ using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading.Tasks;*/
using System.Windows.Forms;
@ -19,10 +20,15 @@ namespace ProjectElectricLocomotive
public partial class FormLocomotiveCollections : Form
{
private readonly LocomotiveGenericStorage _storage;
public FormLocomotiveCollections()
/// <summary>
/// Логер
/// </summary>
private readonly ILogger _logger;
public FormLocomotiveCollections(ILogger<FormLocomotiveCollections> logger)
{
InitializeComponent();
_storage = new LocomotiveGenericStorage(pictureBoxCollections.Width, pictureBoxCollections.Height);
_logger = logger;
}
/// <summary>

View File

@ -8,6 +8,11 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.5" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>