mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
640 B
23 lines
640 B
using System.Threading.Tasks;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Features;
|
|
|
|
namespace Volo.Abp.FeatureManagement;
|
|
|
|
public class FeatureStore : IFeatureStore, ITransientDependency
|
|
{
|
|
protected IFeatureManagementStore FeatureManagementStore { get; }
|
|
|
|
public FeatureStore(IFeatureManagementStore featureManagementStore)
|
|
{
|
|
FeatureManagementStore = featureManagementStore;
|
|
}
|
|
|
|
public virtual Task<string> GetOrNullAsync(
|
|
string name,
|
|
string providerName,
|
|
string providerKey)
|
|
{
|
|
return FeatureManagementStore.GetOrNullAsync(name, providerName, providerKey);
|
|
}
|
|
}
|
|
|