|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Concurrent; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Immutable; |
|
|
|
using JetBrains.Annotations; |
|
|
|
@ -11,14 +12,14 @@ namespace Volo.Abp.ObjectExtending |
|
|
|
public static ObjectExtensionManager Instance { get; set; } = new ObjectExtensionManager(); |
|
|
|
|
|
|
|
[NotNull] |
|
|
|
public Dictionary<object, object> Configuration { get; } |
|
|
|
public ConcurrentDictionary<object, object> Configuration { get; } |
|
|
|
|
|
|
|
protected Dictionary<Type, ObjectExtensionInfo> ObjectsExtensions { get; } |
|
|
|
|
|
|
|
protected internal ObjectExtensionManager() |
|
|
|
{ |
|
|
|
ObjectsExtensions = new Dictionary<Type, ObjectExtensionInfo>(); |
|
|
|
Configuration = new Dictionary<object, object>(); |
|
|
|
Configuration = new ConcurrentDictionary<object, object>(); |
|
|
|
} |
|
|
|
|
|
|
|
[NotNull] |
|
|
|
|