Show / Hide Table of Contents

Class TenantFeatureManagerExtensions

Inheritance
System.Object
TenantFeatureManagerExtensions
Namespace: Volo.Abp.FeatureManagement
Assembly: Volo.Abp.FeatureManagement.Domain.dll
Syntax
public static class TenantFeatureManagerExtensions : object

Methods

GetAllForTenantAsync(IFeatureManager, Guid, Boolean)

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

GetAllWithProviderForTenantAsync(IFeatureManager, Guid, Boolean)

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

GetOrNullForTenantAsync(IFeatureManager, String, Guid, Boolean)

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

GetOrNullWithProviderForTenantAsync(IFeatureManager, String, Guid, Boolean)

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

SetForTenantAsync(IFeatureManager, Guid, String, String, Boolean)

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
System.String name
System.String value
System.Boolean forceToSet
Returns
Type Description
Task
Back to top Powered by Volosoft