From fc3ca579adc83530771e4b4dbfa3d5c1a6531fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 7 Feb 2018 15:47:38 +0300 Subject: [PATCH] Added annotations --- src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingManager.cs | 6 +++--- src/Volo.Abp.Settings/Volo/Abp/Settings/SettingManager.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingManager.cs b/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingManager.cs index 96f2f5648e..00b0a89e31 100644 --- a/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingManager.cs +++ b/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingManager.cs @@ -8,14 +8,14 @@ namespace Volo.Abp.Settings { Task GetOrNullAsync([NotNull]string name); - Task GetOrNullAsync([NotNull]string name, [NotNull] string entityType, string entityId, bool fallback = true); + Task GetOrNullAsync([NotNull]string name, [NotNull] string entityType, [CanBeNull] string entityId, bool fallback = true); Task> GetAllAsync(); - Task> GetAllAsync([NotNull] string entityType, string entityId, bool fallback = true); + Task> GetAllAsync([NotNull] string entityType, [CanBeNull] string entityId, bool fallback = true); Task SetAsync([NotNull] string name, string value, bool forceToSet = false); - Task SetAsync([NotNull] string name, string value, [NotNull] string entityType, string entityId, bool forceToSet = false); + Task SetAsync([NotNull] string name, string value, [NotNull] string entityType, [CanBeNull] string entityId, bool forceToSet = false); } } \ No newline at end of file diff --git a/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingManager.cs b/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingManager.cs index 5daf45266a..db7cf2f7da 100644 --- a/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingManager.cs +++ b/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingManager.cs @@ -87,7 +87,7 @@ namespace Volo.Abp.Settings public Task> GetAllAsync() { - return GetAllAsync(null, null); + throw new System.NotImplementedException(); } public Task> GetAllAsync(string entityType, string entityId, bool fallback = true)