From 7d4b876935f4cbc96df426d45556283d2e5eea12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 8 Nov 2020 20:51:51 +0300 Subject: [PATCH] Move ExtraPropertyDictionary to its own file. --- .../Volo/Abp/Data/ExtraPropertyDictionary.cs | 19 +++++++++++++++++++ .../Volo/Abp/Data/IHasExtraProperties.cs | 16 +--------------- 2 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionary.cs diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionary.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionary.cs new file mode 100644 index 0000000000..86a43d77a3 --- /dev/null +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionary.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; + +namespace Volo.Abp.Data +{ + [Serializable] + public class ExtraPropertyDictionary : Dictionary + { + public ExtraPropertyDictionary() + { + + } + + public ExtraPropertyDictionary(IDictionary dictionary) + : base(dictionary) + { + } + } +} diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/IHasExtraProperties.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/IHasExtraProperties.cs index 61a9f267f0..cc236508b2 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/IHasExtraProperties.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/IHasExtraProperties.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace Volo.Abp.Data +namespace Volo.Abp.Data { //TODO: Move to Volo.Abp.Data.ObjectExtending namespace at 4.0? @@ -8,16 +6,4 @@ namespace Volo.Abp.Data { ExtraPropertyDictionary ExtraProperties { get; } } - - public class ExtraPropertyDictionary : Dictionary - { - public ExtraPropertyDictionary() - { - } - - public ExtraPropertyDictionary(IDictionary dictionary) - : base(dictionary) - { - } - } }