реафкторинг toolsmodule

This commit is contained in:
kotcheshir73 2022-03-20 10:10:44 +04:00
parent 4fa2dc1779
commit 9c76b680b7
301 changed files with 494 additions and 606 deletions

View File

@ -1,13 +1,9 @@
using CoreDatabase.Models;
using Microsoft.EntityFrameworkCore;
using ToolsModule.BindingModels;
using ToolsModule.BusinessLogics;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using ToolsModule.ViewModels;
using System;
using System.Linq;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentMapping;
namespace CoreDatabase
{

View File

@ -1,10 +1,10 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,11 +1,11 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,8 +1,8 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,9 +1,9 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,10 +1,10 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,9 +1,9 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,11 +1,11 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,11 +1,11 @@
using CoreModels.ModelsDepartment;
using CoreDatabase.Models.Security;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using CoreDatabase.Models.Security;
using CoreModels.ModelsDepartment;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentExtension;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,7 +1,7 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,12 +1,12 @@
using CoreModels.ModelsDepartment;
using CoreDatabase.Models.Security;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using CoreDatabase.Models.Security;
using CoreModels.ModelsDepartment;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentExtension;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,9 +1,9 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,9 +1,9 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,8 +1,8 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,11 +1,11 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,9 +1,9 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,10 +1,10 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,8 +1,8 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,8 +1,8 @@
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,13 +1,13 @@
using CoreModels.Enums.Department;
using CoreDatabase.Models.Security;
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using CoreDatabase.Models.Security;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentExtension;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,12 +1,12 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,11 +1,11 @@
using CoreModels.Enums.Department;
using CoreModels.ModelsDepartment;
using ToolsModule.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Department
{

View File

@ -1,7 +1,7 @@
using ToolsModule.Attributes;
using System;
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentMapping;
namespace CoreDatabase.Models
{

View File

@ -1,9 +1,8 @@
using CoreModels.ModelsSecurity;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Security
{

View File

@ -1,7 +1,7 @@
using CoreModels.ModelsSecurity;
using ToolsModule.Interfaces;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Security
{

View File

@ -1,9 +1,9 @@
using CoreModels.ModelsSecurity;
using ToolsModule.Interfaces;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Security
{

View File

@ -1,12 +1,11 @@
using CoreModels.ModelsSecurity;
using CoreDatabase.Models.Department;
using ToolsModule.Attributes;
using ToolsModule.Interfaces;
using CoreDatabase.Models.Department;
using CoreModels.ModelsSecurity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Security
{

View File

@ -1,7 +1,7 @@
using CoreModels.ModelsSecurity;
using ToolsModule.Interfaces;
using System;
using System.Runtime.Serialization;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase.Models.Security
{

View File

@ -1,13 +1,11 @@
using CoreDatabase.Models.Security;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using ToolsModule.ManagmentSecurity;
namespace CoreDatabase
{

View File

@ -1,6 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,5 +1,5 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,5 +1,5 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,5 +1,5 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,10 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,6 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,5 +1,5 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Enums.Department;
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsDepartment
{

View File

@ -1,7 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.Enums;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsSecurity
{

View File

@ -1,5 +1,6 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsSecurity
{

View File

@ -1,5 +1,5 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using ToolsModule.ManagmentEntity;
namespace CoreModels.ModelsSecurity
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsSecurity
{

View File

@ -1,6 +1,7 @@
using CoreModels.Tools;
using ToolsModule.Attributes;
using System;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace CoreModels.ModelsSecurity
{

View File

@ -1,5 +1,5 @@
using ToolsDesktop.Interfaces;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
using System;
using System.Windows.Forms;

View File

@ -1,5 +1,5 @@
using ToolsDesktop.Interfaces;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
using System;
using System.Windows.Forms;

View File

@ -1,5 +1,5 @@
using ToolsDesktop.Interfaces;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
using System;
using System.Drawing;

View File

@ -1,5 +1,5 @@
using ToolsDesktop.Interfaces;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
using System;
using System.Drawing;

View File

@ -1,5 +1,5 @@
using ToolsDesktop.Interfaces;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
using System;
using System.Collections.Generic;
using System.IO;

View File

@ -1,6 +1,6 @@
using ToolsDesktop.Models;
using ToolsModule.Enums;
using System;
using System;
using ToolsDesktop.Models;
using ToolsModule.ManagmentSecurity;
namespace ToolsDesktop.Interfaces
{

View File

@ -8,14 +8,10 @@ using ToolsDesktop.Enums;
using ToolsDesktop.Helpers;
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;
using ToolsModule.ViewModels;
using ToolsModule.ManagmentDependency;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentExtension;
using ToolsModule.ManagmentMapping;
namespace ToolsDesktop.Controls
{

View File

@ -8,13 +8,10 @@ using ToolsDesktop.Enums;
using ToolsDesktop.Helpers;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.Attributes;
using ToolsModule.BindingModels;
using ToolsModule.DependencyManagment;
using ToolsModule.Enums;
using ToolsModule.Extensions;
using ToolsModule.Interfaces;
using ToolsModule.ViewModels;
using ToolsModule.ManagmentDependency;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentExtension;
using ToolsModule.ManagmentSecurity;
namespace ToolsDesktop.Controls
{

View File

@ -1,8 +1,8 @@
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.Enums;
using System;
using System;
using System.Windows.Forms;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.ManagmentSecurity;
namespace ToolsDesktop.Controls
{

View File

@ -1,8 +1,8 @@
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.Enums;
using System;
using System;
using System.Windows.Forms;
using ToolsDesktop.Interfaces;
using ToolsDesktop.Models;
using ToolsModule.ManagmentSecurity;
namespace ToolsDesktop.Controls
{

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.DependencyManagment
namespace ToolsModule.ManagmentDependency
{
/// <summary>
/// Менеджер для работы с зависимостями
@ -11,7 +11,7 @@ namespace ToolsModule.DependencyManagment
private static DependencyManager _manager;
private static readonly object _locjObject = new object();
private static readonly object _locjObject = new();
private DependencyManager()
{

View File

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

View File

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

View File

@ -4,39 +4,17 @@ using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.XPath;
using ToolsModule.Extensions;
using ToolsModule.ManagmentExtension;
namespace ToolsModule.DependencyManagment
namespace ToolsModule.ManagmentDependency
{
/// <summary>
/// Загрузчик данных
/// </summary>
public static partial class ServiceProviderLoader
{
private static readonly string _configFileName = "DepartmentPortal.config";
private static readonly string _pathToImplementationExt = "..\\..\\..\\..\\ImplementationExtensions\\";
/// <summary>
/// Получение данных с файла настроек
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
public static string GetConfigData(string key)
{
var fileName = GetFile(_configFileName);
if (!File.Exists(fileName))
{
return string.Empty;
}
var doc = new XPathDocument(fileName);
var nav = doc.CreateNavigator();
var data = nav.SelectDescendants(key, "", false);
data.MoveNext();
return data.Current.Value;
}
/// <summary>
/// Загрузка всех классов-реализаций IImplementationExtension
/// </summary>

View File

@ -2,7 +2,7 @@
using Unity;
using Unity.Lifetime;
namespace ToolsModule.DependencyManagment
namespace ToolsModule.ManagmentDependency
{
/// <summary>
/// Работа с UnityContainer

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Enums
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Тип контрола, через который следует отображать свойство с ViewModel

View File

@ -1,11 +1,8 @@
using ToolsModule.BindingModels;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.Models;
using System.Collections.Generic;
using ToolsModule.DependencyManagment;
using System.Collections.Generic;
using ToolsModule.ManagmentDependency;
using ToolsModule.ManagmentSecurity;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Основа всех бизнес-логик

View File

@ -1,7 +1,7 @@
using ToolsModule.Attributes;
using System;
using System;
using ToolsModule.ManagmentMapping;
namespace ToolsModule.ViewModels
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Возвращаемая запись

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Оописание зависимости сущности от другой сущности (требуется для выстраивания последоватльности сохранения и загрузки данных,

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Оописание класса из базы данных, его назначение (требуется для выстраивания иерархии с описанием классов,

View File

@ -1,10 +1,7 @@
using ToolsModule.BindingModels;
using ToolsModule.Enums;
using ToolsModule.Interfaces;
using ToolsModule.ViewModels;
using System;
using System;
using ToolsModule.ManagmentSecurity;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Базовый класс для логики сущности

View File

@ -1,6 +1,7 @@
using System;
using ToolsModule.ManagmentSecurity;
namespace ToolsModule.BindingModels
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Получение записи

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace ToolsModule.Interfaces
namespace ToolsModule.ManagmentEntity
{
public interface IErrors
{

View File

@ -1,7 +1,4 @@
using ToolsModule.BindingModels;
using ToolsModule.ViewModels;
namespace ToolsModule.Interfaces
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Описание действий для логики сущности

View File

@ -1,7 +1,4 @@
using ToolsModule.BindingModels;
using ToolsModule.Models;
namespace ToolsModule.Interfaces
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Описание действий для хранилища сущности

View File

@ -1,6 +1,6 @@
using System.Collections.Generic;
namespace ToolsModule.ViewModels
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Список возвращаемых значений

View File

@ -1,8 +1,7 @@
using ToolsModule.Enums;
using System;
using System;
using System.Collections.Generic;
namespace ToolsModule.Models
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Результат любой операции с сущностью

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Enums
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Статус результата операции

View File

@ -1,6 +1,7 @@
using System;
using ToolsModule.ManagmentSecurity;
namespace ToolsModule.BindingModels
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Сохранение записи по идентификатору

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Настройка контрола отображения объекта класса (требуется для автоматизации вывода элемента,

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Настройка контрола отображения? указывающая на дочерний контрол (требуется для автоматизации вывода элемента,

View File

@ -1,7 +1,6 @@
using ToolsModule.Enums;
using System;
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Настройка отображения свойства класса при выводе объекта класса (требуется для автоматизации вывода элемента,

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Настройка отображения свойства класса при табличном выводе списка объектов класса (требуется для автоматизации вывода списка,

View File

@ -1,6 +1,6 @@
using System.IO;
namespace ToolsModule.Extensions
namespace ToolsModule.ManagmentExtension
{
public static class StringExtension
{

View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentMapping
{
/// <summary>
/// Настройка для полей сущности правил маппинга в классе, который требуется заполнять данными из другого класса

View File

@ -1,10 +1,10 @@
using ToolsModule.Attributes;
using System;
using System;
using System.Collections;
using System.Linq;
using System.Reflection;
using ToolsModule.ManagmentSecurity;
namespace ToolsModule.BusinessLogics
namespace ToolsModule.ManagmentMapping
{
/// <summary>
/// Маппер сущностей

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.BindingModels
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Информация для доступа к выполнению операций

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Enums
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Операции в системе

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Enums
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Тип операции

View File

@ -1,6 +1,6 @@
using System;
namespace ToolsModule.Attributes
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Признак, гооврящий о том, что нужна проверка доступа к значению свойства при создании одного объекта на основе другого

View File

@ -1,4 +1,4 @@
namespace ToolsModule.Interfaces
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Работа с сущностями с применением скрытности для полей

View File

@ -1,9 +1,8 @@
using ToolsModule.Models;
using System;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ToolsModule.Interfaces
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Интерфейс для аутентификации пользователя и проверки доступа к операциям для пользователя

View File

@ -1,7 +1,4 @@
using ToolsModule.BindingModels;
using ToolsModule.Enums;
namespace ToolsModule.Models
namespace ToolsModule.ManagmentSecurity
{
/// <summary>
/// Данные для проверки доступа

View File

@ -2,8 +2,8 @@
using DepartmentContract.Logics.IGenericEntityLogic;
using DepartmentContract.Services.IGenericEntityService;
using DepartmentContract.ViewModels;
using ToolsModule.BusinessLogics;
using ToolsModule.Enums;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
{

View File

@ -2,8 +2,8 @@
using DepartmentContract.Logics.IGenericEntityLogic;
using DepartmentContract.Services.IGenericEntityService;
using DepartmentContract.ViewModels;
using ToolsModule.BusinessLogics;
using ToolsModule.Enums;
using ToolsModule.ManagmentEntity;
using ToolsModule.ManagmentSecurity;
namespace DepartmentBusinessLogic.BusinessLogics.GenericBusinessLogic
{

Some files were not shown because too many files have changed in this diff Show More