diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/SimpleStateChecking/SimpleStateCheckerSerializer.cs b/framework/src/Volo.Abp.Core/Volo/Abp/SimpleStateChecking/SimpleStateCheckerSerializer.cs index 5943dd4509..21cddb437f 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/SimpleStateChecking/SimpleStateCheckerSerializer.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/SimpleStateChecking/SimpleStateCheckerSerializer.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.SimpleStateChecking; public class SimpleStateCheckerSerializer : ISimpleStateCheckerSerializer, - ITransientDependency + ISingletonDependency { private readonly IEnumerable _contributors; diff --git a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeaturesSimpleStateCheckerSerializerContributor.cs b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeaturesSimpleStateCheckerSerializerContributor.cs index 0ce0a0bfcd..00f72e423d 100644 --- a/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeaturesSimpleStateCheckerSerializerContributor.cs +++ b/framework/src/Volo.Abp.GlobalFeatures/Volo/Abp/GlobalFeatures/GlobalFeaturesSimpleStateCheckerSerializerContributor.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.GlobalFeatures; public class GlobalFeaturesSimpleStateCheckerSerializerContributor : ISimpleStateCheckerSerializerContributor, - ITransientDependency + ISingletonDependency { public string SerializeToJson(ISimpleStateChecker checker) where TState : IHasSimpleStateCheckers