sharp-chat/SharpChat.Common/DataProvider/Null/NullDataProvider.cs

16 lines
421 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Bans;
using SharpChat.Users.Remote;
namespace SharpChat.DataProvider.Null {
[DataProvider(@"null")]
public class NullDataProvider : IDataProvider {
public IBanClient BanClient { get; }
public IRemoteUserClient UserClient { get; }
public NullDataProvider() {
BanClient = new NullBanClient();
UserClient = new NullUserClient();
}
}
}