Show / Hide Table of Contents

Class TenantFeatureManagerExtensions

Inheritance
object
TenantFeatureManagerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.FeatureManagement
Assembly: Volo.Abp.FeatureManagement.Domain.dll
Syntax
public static class TenantFeatureManagerExtensions

Methods

GetAllForTenantAsync(IFeatureManager, Guid, bool)

Declaration
public static Task<List<FeatureNameValue>> GetAllForTenantAsync(this IFeatureManager featureManager, Guid tenantId, bool fallback = true)
Parameters
Type Name Description
IFeatureManager featureManager
Guid tenantId
bool fallback
Returns
Type Description
Task<List<FeatureNameValue>>

GetAllWithProviderForTenantAsync(IFeatureManager, Guid, bool)

Declaration
public static Task<List<FeatureNameValueWithGrantedProvider>> GetAllWithProviderForTenantAsync(this IFeatureManager featureManager, Guid tenantId, bool fallback = true)
Parameters
Type Name Description
IFeatureManager featureManager
Guid tenantId
bool fallback
Returns
Type Description
Task<List<FeatureNameValueWithGrantedProvider>>

GetOrNullForTenantAsync(IFeatureManager, string, Guid, bool)

Declaration
public static Task<string> GetOrNullForTenantAsync(this IFeatureManager featureManager, string name, Guid tenantId, bool fallback = true)
Parameters
Type Name Description
IFeatureManager featureManager
string name
Guid tenantId
bool fallback
Returns
Type Description
Task<string>

GetOrNullWithProviderForTenantAsync(IFeatureManager, string, Guid, bool)

Declaration
public static Task<FeatureNameValueWithGrantedProvider> GetOrNullWithProviderForTenantAsync(this IFeatureManager featureManager, string name, Guid tenantId, bool fallback = true)
Parameters
Type Name Description
IFeatureManager featureManager
string name
Guid tenantId
bool fallback
Returns
Type Description
Task<FeatureNameValueWithGrantedProvider>

SetForTenantAsync(IFeatureManager, Guid, string, string, bool)

Declaration
public static Task SetForTenantAsync(this IFeatureManager featureManager, Guid tenantId, string name, string value, bool forceToSet = false)
Parameters
Type Name Description
IFeatureManager featureManager
Guid tenantId
string name
string value
bool forceToSet
Returns
Type Description
Task
In this article
Back to top Powered by ABP.IO Platform