Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary usings from Shesha.Core project. #2335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions shesha-core/src/Shesha.Core/Domain/Address.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Auditing;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Shesha.Domain.Attributes;
Expand Down
2 changes: 0 additions & 2 deletions shesha-core/src/Shesha.Core/Domain/EntityHistoryEvent.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
using Abp.Domain.Entities;
using Abp.EntityHistory;
using JetBrains.Annotations;

namespace Shesha.Domain
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Shesha.Domain.Attributes;
using System;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Shesha.Domain.Attributes;
using System;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain.Enums
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain.Enums
{
Expand Down
6 changes: 1 addition & 5 deletions shesha-core/src/Shesha.Core/Domain/Note.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using Shesha.Domain.Attributes;
using Shesha.Domain.Enums;

Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Domain/NotificationMessage.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Abp.Notifications;
using Shesha.Domain.Enums;
using Shesha.EntityReferences;
Expand Down
3 changes: 1 addition & 2 deletions shesha-core/src/Shesha.Core/Domain/Organisation.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Abp.Domain.Entities;
using Shesha.Domain.Attributes;
using Shesha.Domain.Attributes;
using System.Collections.Generic;

namespace Shesha.Domain
Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Domain/OrganisationBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Auditing;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Shesha.Domain.Attributes;
using Shesha.DynamicEntities;

Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Domain/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Shesha.Domain.Enums;
using Shesha.DynamicEntities;
using Shesha.EntityHistory;
using Shesha.Extensions;

namespace Shesha.Domain
{
Expand Down
4 changes: 0 additions & 4 deletions shesha-core/src/Shesha.Core/Domain/QuestionAssignment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
using Shesha.Authorization.Users;
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain
{
Expand Down
4 changes: 0 additions & 4 deletions shesha-core/src/Shesha.Core/Domain/SecurityQuestion.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using Abp.Domain.Entities.Auditing;
using Shesha.Domain.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain
{
Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Domain/ShaRole.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Abp.Auditing;
using Abp.Domain.Entities;
using Shesha.Domain.Attributes;
using Shesha.EntityHistory;
using System;
Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Domain/ShaRoleAppointment.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Shesha.Domain.Attributes;
Expand Down
3 changes: 1 addition & 2 deletions shesha-core/src/Shesha.Core/Domain/ShaRolePermission.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using AutoMapper;
using Shesha.Domain.Attributes;
using Shesha.Domain.Attributes;

namespace Shesha.Domain
{
Expand Down
4 changes: 0 additions & 4 deletions shesha-core/src/Shesha.Core/Domain/Site.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
using Shesha.Domain.Attributes;
using Shesha.Domain.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Domain
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Security.Cryptography;
using System.Threading.Tasks;
using FluentValidationResult = FluentValidation.Results.ValidationResult;

Expand Down
6 changes: 0 additions & 6 deletions shesha-core/src/Shesha.Core/Migrations/M20240711103300.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
using FluentMigrator;
using NUglify;
using Shesha.FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Migrations
{
Expand Down
7 changes: 0 additions & 7 deletions shesha-core/src/Shesha.Core/Migrations/M20240725180100.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using FluentMigrator;
using NUglify;
using Shesha.FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Migrations
{
Expand Down
7 changes: 0 additions & 7 deletions shesha-core/src/Shesha.Core/Migrations/M20240726090600.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using FluentMigrator;
using NUglify;
using Shesha.FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace Shesha.Migrations
{
Expand Down
1 change: 0 additions & 1 deletion shesha-core/src/Shesha.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Reflection;
using System.Runtime.InteropServices;
using Shesha;
using Shesha.Attributes;

// General Information about an assembly is controlled through the following
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Abp.Auditing;
using Shesha.ConfigurationItems.Distribution;
using Shesha.Domain;
using Shesha.ConfigurationItems.Distribution;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Shesha.Roles.Distribution.Dto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using Abp.Dependency;
using Abp.Domain.Repositories;
using Newtonsoft.Json;
using Shesha.Authorization;
using Shesha.ConfigurationItems.Distribution;
using Shesha.Domain;
using Shesha.Domain.ConfigurationItems;
using Shesha.Permissions.Distribution.Dto;
using Shesha.Roles.Distribution.Dto;
using Shesha.Services.ConfigurationItems;
using System;
Expand Down