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
729 B
23 lines
729 B
using System;
|
|
using System.Threading.Tasks;
|
|
using JetBrains.Annotations;
|
|
using Volo.Abp.Features;
|
|
|
|
namespace Volo.Abp.FeatureManagement;
|
|
|
|
public interface IFeatureManagementProvider
|
|
{
|
|
string Name { get; }
|
|
|
|
//TODO: Other better method name.
|
|
bool Compatible(string providerName);
|
|
|
|
//TODO: Other better method name.
|
|
Task<IAsyncDisposable> HandleContextAsync(string providerName, string providerKey);
|
|
|
|
Task<string> GetOrNullAsync([NotNull] FeatureDefinition feature, [CanBeNull] string providerKey);
|
|
|
|
Task SetAsync([NotNull] FeatureDefinition feature, [NotNull] string value, [CanBeNull] string providerKey);
|
|
|
|
Task ClearAsync([NotNull] FeatureDefinition feature, [CanBeNull] string providerKey);
|
|
}
|
|
|