From f846611429d2994fcdbc6e65c6dbce4c6b2a1040 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sun, 6 Sep 2026 00:20:37 +0330 Subject: [PATCH] apply sorting ... --- Base/XBaseClass.cs | 2 +- Base/XBaseStoreEvent.cs | 4 ++-- Base/XBaseStringIDEntity.cs | 2 -- Dtos/XDeviceDto.cs | 2 +- Dtos/XFileDto.cs | 4 ++-- Dtos/XQueryResult.cs | 2 +- Dtos/XResourceDto.cs | 2 +- Extensions/DIExtensions.cs | 10 +++++----- Extensions/XModelExtensions.cs | 4 ++-- Interfaces/IXBaseStore.cs | 6 +++--- Interfaces/IXBaseStoreEvents.cs | 2 +- Providers/XBaseInMemoryStore.cs | 10 +++++----- 12 files changed, 24 insertions(+), 26 deletions(-) diff --git a/Base/XBaseClass.cs b/Base/XBaseClass.cs index 2bac8d6..c426253 100644 --- a/Base/XBaseClass.cs +++ b/Base/XBaseClass.cs @@ -1,7 +1,7 @@ using System; -using Microsoft.Extensions.Logging; using xCommons.Extensions; using xExceptions.Constants; +using Microsoft.Extensions.Logging; namespace xModels.Base { /// diff --git a/Base/XBaseStoreEvent.cs b/Base/XBaseStoreEvent.cs index 07981e0..bfd24af 100644 --- a/Base/XBaseStoreEvent.cs +++ b/Base/XBaseStoreEvent.cs @@ -1,8 +1,8 @@ using System; -using System.Collections.Generic; +using xModels.Interfaces; using System.Reactive.Linq; using System.Reactive.Subjects; -using xModels.Interfaces; +using System.Collections.Generic; namespace xModels.Base { diff --git a/Base/XBaseStringIDEntity.cs b/Base/XBaseStringIDEntity.cs index 1917cd4..aef5f37 100644 --- a/Base/XBaseStringIDEntity.cs +++ b/Base/XBaseStringIDEntity.cs @@ -1,5 +1,3 @@ -using System; - namespace xModels.Base { /// /// a BaseEntity Class which has Id of string type diff --git a/Dtos/XDeviceDto.cs b/Dtos/XDeviceDto.cs index 3c12675..f6e6e4d 100644 --- a/Dtos/XDeviceDto.cs +++ b/Dtos/XDeviceDto.cs @@ -1,5 +1,5 @@ -using xCommons.Constants; using xModels.Base; +using xCommons.Constants; namespace xModels.Dtos { public class XDeviceDto : XBaseDto { diff --git a/Dtos/XFileDto.cs b/Dtos/XFileDto.cs index 4f61c7c..60084ec 100644 --- a/Dtos/XFileDto.cs +++ b/Dtos/XFileDto.cs @@ -1,7 +1,7 @@ using System; -using System.ComponentModel.DataAnnotations; -using xCommons.Constants; using xModels.Base; +using xCommons.Constants; +using System.ComponentModel.DataAnnotations; namespace xModels.Dtos { public partial class XFileDto : XBaseDto { diff --git a/Dtos/XQueryResult.cs b/Dtos/XQueryResult.cs index ef72c46..c753dc0 100644 --- a/Dtos/XQueryResult.cs +++ b/Dtos/XQueryResult.cs @@ -1,5 +1,5 @@ -using System.Collections.Generic; using xModels.Base; +using System.Collections.Generic; namespace xModels.Dtos { /// diff --git a/Dtos/XResourceDto.cs b/Dtos/XResourceDto.cs index 948b00a..5b29006 100644 --- a/Dtos/XResourceDto.cs +++ b/Dtos/XResourceDto.cs @@ -1,5 +1,5 @@ -using System.Collections.Generic; using xModels.Base; +using System.Collections.Generic; namespace xModels.Dtos { diff --git a/Extensions/DIExtensions.cs b/Extensions/DIExtensions.cs index 82234f6..4ca399c 100644 --- a/Extensions/DIExtensions.cs +++ b/Extensions/DIExtensions.cs @@ -1,8 +1,8 @@ -using Microsoft.Extensions.DependencyInjection; -using xCommons.Extensions; -using xExceptions.Constants; using xModels.Base; using xModels.Interfaces; +using xCommons.Extensions; +using xExceptions.Constants; +using Microsoft.Extensions.DependencyInjection; namespace xModels.Extensions { public static class DIExtensions { @@ -13,8 +13,8 @@ namespace xModels.Extensions { /// an implementation of inetrface of store ... /// service lifetime /// implementation of TType ... - /// an inetrface which implements IXBaseStore - /// type of an instance of XBaseStorable + /// an inetrface which implements IXBaseStore + /// type of an instance of XBaseStorable /// type of key of StorableItem /// public static void AddXStore ( diff --git a/Extensions/XModelExtensions.cs b/Extensions/XModelExtensions.cs index 30f4f74..1a47042 100644 --- a/Extensions/XModelExtensions.cs +++ b/Extensions/XModelExtensions.cs @@ -1,7 +1,7 @@ -using System.Collections.Generic; using System.Linq; -using xCommons.Extensions; using xModels.Dtos; +using xCommons.Extensions; +using System.Collections.Generic; namespace xModels.Extensions { diff --git a/Interfaces/IXBaseStore.cs b/Interfaces/IXBaseStore.cs index 43659e9..7b0f3c3 100644 --- a/Interfaces/IXBaseStore.cs +++ b/Interfaces/IXBaseStore.cs @@ -1,8 +1,8 @@ using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Threading.Tasks; using xModels.Base; +using System.Threading.Tasks; +using System.Linq.Expressions; +using System.Collections.Generic; namespace xModels.Interfaces { public interface IXBaseStore where T : XBaseStorableDto { diff --git a/Interfaces/IXBaseStoreEvents.cs b/Interfaces/IXBaseStoreEvents.cs index 401464f..e74cb7e 100644 --- a/Interfaces/IXBaseStoreEvents.cs +++ b/Interfaces/IXBaseStoreEvents.cs @@ -1,6 +1,6 @@ using System; -using System.Collections.Generic; using xModels.Base; +using System.Collections.Generic; namespace xModels.Interfaces { diff --git a/Providers/XBaseInMemoryStore.cs b/Providers/XBaseInMemoryStore.cs index 9911f21..a1c5227 100644 --- a/Providers/XBaseInMemoryStore.cs +++ b/Providers/XBaseInMemoryStore.cs @@ -1,12 +1,12 @@ using System; -using System.Collections.Concurrent; -using System.Collections.Generic; using System.Linq; -using System.Linq.Expressions; -using System.Threading.Tasks; -using xCommons.Extensions; using xModels.Base; using xModels.Interfaces; +using xCommons.Extensions; +using System.Threading.Tasks; +using System.Linq.Expressions; +using System.Collections.Generic; +using System.Collections.Concurrent; namespace xModels.Providers {