diff --git a/Attributes/RequireXPoweredAttribute.cs b/Attributes/RequireXPoweredAttribute.cs index 7933663..b18e7b2 100644 --- a/Attributes/RequireXPoweredAttribute.cs +++ b/Attributes/RequireXPoweredAttribute.cs @@ -1,9 +1,9 @@ using System.Linq; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; using xCommons.Constants; using xCommons.Extensions; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Authorization; namespace xCommons.Attributes { public partial class RequireXPoweredAttribute : AuthorizeAttribute, IAuthorizationFilter { diff --git a/Authorization/RequiredRolesHandler.cs b/Authorization/RequiredRolesHandler.cs index 09ac49e..ec71855 100644 --- a/Authorization/RequiredRolesHandler.cs +++ b/Authorization/RequiredRolesHandler.cs @@ -1,6 +1,6 @@ using System.Linq; -using System.Threading.Tasks; using IdentityModel; +using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; namespace xCommons.Authorization { diff --git a/Controllers/XBaseApiController.cs b/Controllers/XBaseApiController.cs index e5d61fc..2a0f5e0 100644 --- a/Controllers/XBaseApiController.cs +++ b/Controllers/XBaseApiController.cs @@ -1,8 +1,8 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; +using xCommons.Providers; using xCommons.Attributes; using xCommons.Configurations; -using xCommons.Providers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; namespace xCommons.Controllers { /// diff --git a/Controllers/XBaseApiV1Controller.cs b/Controllers/XBaseApiV1Controller.cs index 1618344..765f82a 100644 --- a/Controllers/XBaseApiV1Controller.cs +++ b/Controllers/XBaseApiV1Controller.cs @@ -1,8 +1,8 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; +using xCommons.Providers; using xCommons.Attributes; using xCommons.Configurations; -using xCommons.Providers; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Logging; namespace xCommons.Controllers { /// diff --git a/Controllers/XBaseController.cs b/Controllers/XBaseController.cs index a175064..29bde87 100644 --- a/Controllers/XBaseController.cs +++ b/Controllers/XBaseController.cs @@ -1,12 +1,12 @@ using System; -using Microsoft.AspNetCore.Authorization; +using xCommons.Providers; +using xCommons.Attributes; +using xCommons.Extensions; +using xExceptions.Constants; +using xCommons.Configurations; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; -using xCommons.Attributes; -using xCommons.Configurations; -using xCommons.Extensions; -using xCommons.Providers; -using xExceptions.Constants; +using Microsoft.AspNetCore.Authorization; namespace xCommons.Controllers { /// diff --git a/DI/XDIHelperExtension.cs b/DI/XDIHelperExtension.cs index ea61bd0..642bacf 100644 --- a/DI/XDIHelperExtension.cs +++ b/DI/XDIHelperExtension.cs @@ -1,5 +1,5 @@ -using Microsoft.Extensions.DependencyInjection; using xCommons.Providers; +using Microsoft.Extensions.DependencyInjection; public static partial class XDIHelperExtension { /// diff --git a/Extensions/BackgroundServiceExtensions.cs b/Extensions/BackgroundServiceExtensions.cs index 3933d5e..176708c 100644 --- a/Extensions/BackgroundServiceExtensions.cs +++ b/Extensions/BackgroundServiceExtensions.cs @@ -1,5 +1,5 @@ -using Microsoft.Extensions.DependencyInjection; using xCommons.Providers; +using Microsoft.Extensions.DependencyInjection; namespace xCommons.Extensions { diff --git a/Extensions/CertificateExtensions.cs b/Extensions/CertificateExtensions.cs index e8e9287..8d92a5d 100644 --- a/Extensions/CertificateExtensions.cs +++ b/Extensions/CertificateExtensions.cs @@ -1,6 +1,6 @@ -using Microsoft.Extensions.Configuration; -using xCommons.Constants; using xCommons.Models; +using xCommons.Constants; +using Microsoft.Extensions.Configuration; namespace xCommons.Extensions { public static partial class CertificateExtensions { diff --git a/Extensions/CommonExtensions.cs b/Extensions/CommonExtensions.cs index d7841b9..8ff338e 100644 --- a/Extensions/CommonExtensions.cs +++ b/Extensions/CommonExtensions.cs @@ -1,26 +1,26 @@ using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Globalization; using System.IO; -using System.Linq; -using System.Reflection; -using System.Runtime.Serialization; -using System.Security.Cryptography; -using System.Text; -using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using System.Web; using System.Xml; using AutoMapper; +using System.Linq; +using System.Text; using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Newtonsoft.Json.Serialization; -using xCommons.Constants; using xCommons.Helpers; -using xExceptions.Attributes; +using System.Threading; +using System.Reflection; +using xCommons.Constants; +using Newtonsoft.Json.Linq; +using System.Globalization; using xExceptions.Constants; +using System.Threading.Tasks; +using xExceptions.Attributes; +using System.Collections.Generic; +using System.Runtime.Serialization; +using System.Security.Cryptography; +using Newtonsoft.Json.Serialization; +using System.Collections.ObjectModel; +using System.Text.RegularExpressions; namespace xCommons.Extensions { diff --git a/Extensions/DIExtensions.cs b/Extensions/DIExtensions.cs index 528d105..5b637c9 100644 --- a/Extensions/DIExtensions.cs +++ b/Extensions/DIExtensions.cs @@ -1,17 +1,17 @@ using System; -using System.Collections.Generic; using System.IO; using System.Linq; -using Microsoft.AspNetCore.Builder; +using xCommons.Filters; +using xCommons.Constants; +using xCommons.Configurations; using Microsoft.AspNetCore.Mvc; +using Microsoft.OpenApi.Models; +using System.Collections.Generic; +using Microsoft.AspNetCore.Builder; +using Swashbuckle.AspNetCore.SwaggerUI; +using Swashbuckle.AspNetCore.SwaggerGen; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using Swashbuckle.AspNetCore.SwaggerUI; -using xCommons.Configurations; -using xCommons.Constants; -using xCommons.Filters; namespace xCommons.Extensions { diff --git a/Extensions/ExceptionExtensions.cs b/Extensions/ExceptionExtensions.cs index d700c35..7fe3948 100644 --- a/Extensions/ExceptionExtensions.cs +++ b/Extensions/ExceptionExtensions.cs @@ -1,6 +1,6 @@ using System; -using xExceptions.Constants; using xExceptions.Models; +using xExceptions.Constants; namespace xCommons.Extensions { /// diff --git a/Extensions/FilterExtensions.cs b/Extensions/FilterExtensions.cs index 781d06d..ce53777 100644 --- a/Extensions/FilterExtensions.cs +++ b/Extensions/FilterExtensions.cs @@ -1,8 +1,8 @@ using System.Linq; +using xCommons.Configurations; +using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.Authorization; -using Microsoft.AspNetCore.Mvc.Filters; -using xCommons.Configurations; namespace xCommons.Extensions { public static partial class FilterExtensions { diff --git a/Extensions/IConfigurationExtensions.cs b/Extensions/IConfigurationExtensions.cs index d3562a9..f7a1cfa 100644 --- a/Extensions/IConfigurationExtensions.cs +++ b/Extensions/IConfigurationExtensions.cs @@ -1,8 +1,8 @@ -using System.Collections.Generic; using System.Linq; -using Microsoft.Extensions.Configuration; -using xCommons.Configurations; using xCommons.Constants; +using xCommons.Configurations; +using System.Collections.Generic; +using Microsoft.Extensions.Configuration; namespace xCommons.Extensions { diff --git a/Extensions/IFormFileExtensions.cs b/Extensions/IFormFileExtensions.cs index f3a7081..041796b 100644 --- a/Extensions/IFormFileExtensions.cs +++ b/Extensions/IFormFileExtensions.cs @@ -1,12 +1,11 @@ using System; using System.IO; -using System.Linq; using System.Text; using UglyToad.PdfPig; using System.Threading; +using xCommons.Extensions; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; -using xCommons.Extensions; namespace xAiModels.Extensions { diff --git a/Extensions/ModelExtensions.cs b/Extensions/ModelExtensions.cs index 4c816ff..4e8b9d4 100644 --- a/Extensions/ModelExtensions.cs +++ b/Extensions/ModelExtensions.cs @@ -1,9 +1,9 @@ using System; +using System.Linq; +using System.Reflection; +using System.Linq.Expressions; using System.Collections.Generic; using System.Collections.ObjectModel; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; namespace xCommons.Extensions { diff --git a/Extensions/ServiceProviderExtensions.cs b/Extensions/ServiceProviderExtensions.cs index 0c5b06a..1f1794d 100644 --- a/Extensions/ServiceProviderExtensions.cs +++ b/Extensions/ServiceProviderExtensions.cs @@ -1,8 +1,8 @@ using System; +using xCommons.Helpers; using System.Collections; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; -using xCommons.Helpers; namespace xCommons.Extensions { public static class ServiceProviderExtensions { diff --git a/Extensions/XMiddlewareExtensions.cs b/Extensions/XMiddlewareExtensions.cs index 4d4e3e6..69b6eb2 100644 --- a/Extensions/XMiddlewareExtensions.cs +++ b/Extensions/XMiddlewareExtensions.cs @@ -1,6 +1,5 @@ -using System; -using Microsoft.AspNetCore.Builder; using xCommons.Middlewares; +using Microsoft.AspNetCore.Builder; namespace xCommons.Extensions { diff --git a/Filters/RequireXPoweredOperationFilter.cs b/Filters/RequireXPoweredOperationFilter.cs index fd3430c..f99a354 100644 --- a/Filters/RequireXPoweredOperationFilter.cs +++ b/Filters/RequireXPoweredOperationFilter.cs @@ -1,10 +1,10 @@ -using System.Collections.Generic; -using Microsoft.OpenApi.Any; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using xCommons.Configurations; using xCommons.Constants; using xCommons.Extensions; +using Microsoft.OpenApi.Any; +using xCommons.Configurations; +using Microsoft.OpenApi.Models; +using System.Collections.Generic; +using Swashbuckle.AspNetCore.SwaggerGen; namespace xCommons.Filters { /// diff --git a/Filters/SwaggerDefaultValuesOperationFilter.cs b/Filters/SwaggerDefaultValuesOperationFilter.cs index 507a6f3..c8865d6 100644 --- a/Filters/SwaggerDefaultValuesOperationFilter.cs +++ b/Filters/SwaggerDefaultValuesOperationFilter.cs @@ -1,9 +1,9 @@ using System.Linq; +using xCommons.Extensions; using Microsoft.OpenApi.Any; +using xCommons.Configurations; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; -using xCommons.Configurations; -using xCommons.Extensions; namespace xCommons.Filters { diff --git a/Helpers/ObjectHelper.cs b/Helpers/ObjectHelper.cs index 5a4341a..388e673 100644 --- a/Helpers/ObjectHelper.cs +++ b/Helpers/ObjectHelper.cs @@ -1,6 +1,6 @@ using System; -using System.Collections.Generic; using System.Linq; +using System.Collections.Generic; namespace xCommons.Helpers { public partial class ObjectHelper { diff --git a/Helpers/XGenericHelper.cs b/Helpers/XGenericHelper.cs index 1f7d36c..bff1323 100644 --- a/Helpers/XGenericHelper.cs +++ b/Helpers/XGenericHelper.cs @@ -1,8 +1,8 @@ using System; -using System.Collections.Generic; using System.Linq; using System.Reflection; using xCommons.Extensions; +using System.Collections.Generic; namespace xCommons.Helpers { diff --git a/Helpers/XMLToJSONHelper.cs b/Helpers/XMLToJSONHelper.cs index c848994..2cf4026 100644 --- a/Helpers/XMLToJSONHelper.cs +++ b/Helpers/XMLToJSONHelper.cs @@ -1,7 +1,7 @@ using System; -using System.Collections.Generic; -using System.Text; using System.Xml; +using System.Text; +using System.Collections.Generic; namespace xCommons.Helpers { public partial class XMLToJSONHelper { diff --git a/Helpers/XNetworkHelper.cs b/Helpers/XNetworkHelper.cs index 31680f7..398ae84 100644 --- a/Helpers/XNetworkHelper.cs +++ b/Helpers/XNetworkHelper.cs @@ -1,9 +1,9 @@ -using System.Collections.Generic; -using System.Linq; using System.Net; -using System.Net.NetworkInformation; -using System.Net.Sockets; +using System.Linq; using xCommons.Models; +using System.Net.Sockets; +using System.Collections.Generic; +using System.Net.NetworkInformation; namespace xCommons.Helpers { public static class XNetworkHelper { diff --git a/Helpers/XOsHelper.cs b/Helpers/XOsHelper.cs index e3aef8f..0230abc 100644 --- a/Helpers/XOsHelper.cs +++ b/Helpers/XOsHelper.cs @@ -1,10 +1,10 @@ using System; using System.Diagnostics; -using System.Runtime.InteropServices; -using System.Threading.Tasks; using xCommons.Extensions; -using xExceptions.Attributes; using xExceptions.Constants; +using System.Threading.Tasks; +using xExceptions.Attributes; +using System.Runtime.InteropServices; namespace xCommons.Helpers { diff --git a/Middlewares/XRequestLogger.cs b/Middlewares/XRequestLogger.cs index 5edb67b..441a694 100644 --- a/Middlewares/XRequestLogger.cs +++ b/Middlewares/XRequestLogger.cs @@ -1,10 +1,10 @@ using System; using System.IO; +using xCommons.Models; +using xCommons.Extensions; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; -using xCommons.Extensions; -using xCommons.Models; namespace xCommons.Middlewares { public partial class XRequestLogger { diff --git a/Models/XNetworkInfo.cs b/Models/XNetworkInfo.cs index 1c88000..9af3ace 100644 --- a/Models/XNetworkInfo.cs +++ b/Models/XNetworkInfo.cs @@ -1,8 +1,8 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Net.NetworkInformation; using System.Threading.Tasks; +using System.Collections.Generic; +using System.Net.NetworkInformation; namespace xCommons.Models { public class XNetworkInfo { diff --git a/Providers/XCipher.cs b/Providers/XCipher.cs index 83fd142..4170140 100644 --- a/Providers/XCipher.cs +++ b/Providers/XCipher.cs @@ -1,12 +1,9 @@ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Security.Cryptography; using System.Text; -using System.Threading.Tasks; using xCommons.Extensions; using xCommons.Interfaces; +using System.Security.Cryptography; namespace xCommons.Providers { diff --git a/Providers/XTimeBasedBackgroundService.cs b/Providers/XTimeBasedBackgroundService.cs index 2527cbc..7463248 100644 --- a/Providers/XTimeBasedBackgroundService.cs +++ b/Providers/XTimeBasedBackgroundService.cs @@ -1,9 +1,9 @@ using System; using System.Threading; -using System.Threading.Tasks; -using Microsoft.Extensions.Logging; using xCommons.Extensions; using xExceptions.Constants; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; namespace xCommons.Providers { diff --git a/Providers/XValidationProvider.cs b/Providers/XValidationProvider.cs index d9c7c5e..d313694 100644 --- a/Providers/XValidationProvider.cs +++ b/Providers/XValidationProvider.cs @@ -1,9 +1,9 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using xCommons.Extensions; using xExceptions.Constants; +using System.Threading.Tasks; +using System.Collections.Generic; namespace xCommons.Providers { public partial class XValidationProvider {