коректировка

This commit is contained in:
bekodeg 2023-12-12 16:13:01 +04:00
parent 992ae0d74b
commit c18af275cd
4 changed files with 3 additions and 16 deletions

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace ProjectElectricLocomotive.DrawningObjects
{
/// <summary>
/// Расширение для класса EntityCar
/// Расширение для класса EntityLocomotive
/// </summary>
public static class ExtentionDrawningLocomotive
{

View File

@ -149,6 +149,6 @@ namespace ProjectElectricLocomotive.Generics
/// <summary>
/// Получение объектов коллекции
/// </summary>
public IEnumerable<T?> GetCars => _collection.GetLocomotives();
public IEnumerable<T?> GetLocomotives => _collection.GetLocomotives();
}
}

View File

@ -132,7 +132,7 @@ namespace ProjectElectricLocomotive.Generics
{
sw.Write(record.Key);
sw.Write(_separatorForKeyValue);
foreach (DrawningLocomotive? elem in record.Value.GetCars)
foreach (DrawningLocomotive? elem in record.Value.GetLocomotives)
{
sw.Write(
$"{elem?.GetDataForSave(_separatorForObject)}" +

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true" internalLogLevel="Info">
<targets>
<target xsi:type="File" name="tofile" fileName="carlog-${shortdate}.log" />
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="tofile" />
</rules>
</nlog>
</configuration>