Class TenantFeatureValueProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Features
Assembly: Volo.Abp.Features.dll
Syntax
public class TenantFeatureValueProvider : FeatureValueProvider, IFeatureValueProvider, ITransientDependency
Constructors
TenantFeatureValueProvider(IFeatureStore, ICurrentTenant)
Declaration
public TenantFeatureValueProvider(IFeatureStore featureStore, ICurrentTenant currentTenant)
Parameters
| Type | Name | Description |
|---|---|---|
| IFeatureStore | featureStore | |
| ICurrentTenant | currentTenant |
Fields
ProviderName
Declaration
public const string ProviderName = "T"
Field Value
| Type | Description |
|---|---|
| string |
Properties
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
| Type | Description |
|---|---|
| ICurrentTenant |
Name
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetOrNullAsync(FeatureDefinition)
Declaration
public override Task<string> GetOrNullAsync(FeatureDefinition feature)
Parameters
| Type | Name | Description |
|---|---|---|
| FeatureDefinition | feature |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><string> |