mirror of https://github.com/abpframework/abp.git
11 changed files with 154 additions and 25 deletions
@ -0,0 +1,29 @@ |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.DependencyInjection; |
|||
|
|||
namespace Volo.Abp.Settings |
|||
{ |
|||
public class NullSettingStore : ISettingStore, ISingletonDependency |
|||
{ |
|||
public Task<string> GetOrNullAsync(string name, string entityType, string entityId) |
|||
{ |
|||
return Task.FromResult((string) null); |
|||
} |
|||
|
|||
public Task SetAsync(string name, string value, string entityType, string entityId) |
|||
{ |
|||
return Task.CompletedTask; |
|||
} |
|||
|
|||
public Task<List<SettingValue>> GetListAsync(string entityType, string entityId) |
|||
{ |
|||
return Task.FromResult(new List<SettingValue>()); |
|||
} |
|||
|
|||
public Task DeleteAsync(string name, string entityType, string entityId) |
|||
{ |
|||
return Task.CompletedTask; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue