рефакторинг, работа с зависимостями
This commit is contained in:
parent
05d88ca8f1
commit
4fa2dc1779
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -3,6 +3,7 @@ using ToolsModule.Enums;
|
||||
using ToolsModule.Interfaces;
|
||||
using ToolsModule.Models;
|
||||
using System.Collections.Generic;
|
||||
using ToolsModule.DependencyManagment;
|
||||
|
||||
namespace ToolsModule.BusinessLogics
|
||||
{
|
||||
|
@ -1,7 +1,6 @@
|
||||
using ToolsModule.Interfaces;
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace ToolsModule.BusinessLogics
|
||||
namespace ToolsModule.DependencyManagment
|
||||
{
|
||||
/// <summary>
|
||||
/// Менеджер для работы с зависимостями
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace ToolsModule.Interfaces
|
||||
namespace ToolsModule.DependencyManagment
|
||||
{
|
||||
/// <summary>
|
||||
/// Интерфейс установки зависмости между элементами
|
@ -1,4 +1,4 @@
|
||||
namespace ToolsModule.Interfaces
|
||||
namespace ToolsModule.DependencyManagment
|
||||
{
|
||||
/// <summary>
|
||||
/// Интерфейс для регистрации зависимостей в модулях
|
@ -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>
|
||||
/// Загрузчик данных
|
@ -1,9 +1,8 @@
|
||||
using ToolsModule.Interfaces;
|
||||
using System;
|
||||
using System;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace ToolsModule.BusinessLogics
|
||||
namespace ToolsModule.DependencyManagment
|
||||
{
|
||||
/// <summary>
|
||||
/// Работа с UnityContainer
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -1,7 +1,6 @@
|
||||
using DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic;
|
||||
using DepartmentContract.Logics.IGenericEntityLogic;
|
||||
using ToolsModule.BusinessLogics;
|
||||
using ToolsModule.Interfaces;
|
||||
using ToolsModule.DependencyManagment;
|
||||
|
||||
namespace DepartmentBusinessLogic
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user