рефакторинг, работа с зависимостями

This commit is contained in:
kotcheshir73 2022-03-19 23:06:06 +04:00
parent 05d88ca8f1
commit 4fa2dc1779
26 changed files with 58 additions and 58 deletions

View File

@ -11,6 +11,7 @@ using ToolsDesktop.Models;
using ToolsModule.Attributes;
using ToolsModule.BindingModels;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;

View File

@ -10,7 +10,7 @@ using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.Attributes;
using ToolsModule.BindingModels;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;

View File

@ -3,6 +3,7 @@ using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using System.Collections.Generic;
using ToolsModule.DependencyManagment;
namespace ToolsModule.BusinessLogics
{

View File

@ -1,7 +1,6 @@
using ToolsModule.Interfaces;
using System;
using System;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.DependencyManagment
{
/// <summary>
/// Менеджер для работы с зависимостями

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Interfaces
namespace ToolsModule.DependencyManagment
{
/// <summary>
/// Интерфейс установки зависмости между элементами

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Interfaces
namespace ToolsModule.DependencyManagment
{
/// <summary>
/// Интерфейс для регистрации зависимостей в модулях

View File

@ -1,13 +1,12 @@
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.XPath;
using ToolsModule.Extensions;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.DependencyManagment
{
/// <summary>
/// Загрузчик данных

View File

@ -1,9 +1,8 @@
using ToolsModule.Interfaces;
using System;
using System;
using Unity;
using Unity.Lifetime;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.DependencyManagment
{
/// <summary>
/// Работа с UnityContainer

View File

@ -6,6 +6,7 @@ using DepartmentContract.ViewModels;
using SecurityContract.BindingModels;
using SecurityContract.Logics.IGenericEntityLogic;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic

View File

@ -16,6 +16,7 @@ using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;

View File

@ -1,7 +1,6 @@
using DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic;
using DepartmentContract.Logics.IGenericEntityLogic;
using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using ToolsModule.DependencyManagment;
namespace DepartmentBusinessLogic
{

View File

@ -1,8 +1,7 @@
using DepartmentContract.Services.IGenericEntityService;
using DepartmentDatabaseImplementation.Implementations;
using DepartmentDatabaseImplementation.Implementations.AbstractGenerticEntityService;
using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using ToolsModule.DependencyManagment;
namespace DepartmentDatabaseImplementation
{

View File

@ -1,12 +1,12 @@
using DepartmentWindowsDesktop.EntityControls;
using System.Collections.Generic;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BindingModels;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using System.Collections.Generic;
namespace DepartmentWindowsDesktop
{

View File

@ -7,7 +7,7 @@ using ToolsDesktop.BaseControls;
using ToolsDesktop.Controls;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace DepartmentWindowsDesktop.EntityControls

View File

@ -12,6 +12,7 @@ using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Extensions;
namespace DepartmentWindowsDesktop.EntityControls

View File

@ -12,6 +12,7 @@ using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Extensions;
namespace DepartmentWindowsDesktop.EntityControls

View File

@ -7,7 +7,7 @@ using ToolsDesktop.Controls;
using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace DepartmentWindowsDesktop.EntityControls

View File

@ -12,6 +12,7 @@ using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Extensions;
namespace DepartmentWindowsDesktop.EntityControls

View File

@ -1,10 +1,10 @@
using ToolsModule.BusinessLogics;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using System;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Forms;
using ToolsModule.DependencyManagment;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
namespace DepartmentPortalDesctop
{

View File

@ -1,8 +1,8 @@
using CoreDatabase;
using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using System;
using System.Windows.Forms;
using ToolsModule.DependencyManagment;
using ToolsModule.Interfaces;
namespace DepartmentPortalDesctop
{

View File

@ -2,8 +2,7 @@
using SecurityBusinessLogic.BusinessLogics.GenericBusinessLogic;
using SecurityContract.Logics;
using SecurityContract.Logics.IGenericEntityLogic;
using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using ToolsModule.DependencyManagment;
namespace SecurityBusinessLogic
{

View File

@ -2,8 +2,7 @@
using SecurityContract.Services.IGenericEntityService;
using SecurityDatabaseImplementation.Implementations;
using SecurityDatabaseImplementation.Implementations.AbstractGenerticEntityService;
using ToolsModule.BusinessLogics;
using ToolsModule.Interfaces;
using ToolsModule.DependencyManagment;
namespace SecurityDatabaseImplementation
{

View File

@ -9,7 +9,7 @@ using ToolsDesktop.Controls;
using ToolsDesktop.Enums;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace SecurityWindowsDesktop.EntityControls

View File

@ -1,13 +1,13 @@
using ToolsDesktop.Interfaces;
using SecurityWindowsDesktop.EntityControls;
using SecurityWindowsDesktop.SpecialControls;
using System.Collections.Generic;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BindingModels;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using SecurityWindowsDesktop.EntityControls;
using SecurityWindowsDesktop.SpecialControls;
using System.Collections.Generic;
namespace SecurityWindowsDesktop
{

View File

@ -6,7 +6,7 @@ using System.Xml.Linq;
using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace SecurityWindowsDesktop.SpecialControls

View File

@ -5,7 +5,7 @@ using System.Xml.Linq;
using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.BusinessLogics;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
namespace SecurityWindowsDesktop.SpecialControls