public static Task <List <FeatureNameValue> > GetAllDefaultAsync(this IFeatureManager featureManager, bool fallback = true)
 {
     return(featureManager.GetAllAsync(DefaultValueFeatureValueProvider.ProviderName, null, fallback));
 }
 public static Task <List <FeatureNameValue> > GetAllForEditionAsync(this IFeatureManager featureManager, Guid editionId, bool fallback = true)
 {
     return(featureManager.GetAllAsync(EditionFeatureValueProvider.ProviderName, editionId.ToString(), fallback));
 }
Ejemplo n.º 3
0
 public static Task <List <FeatureNameValue> > GetAllForClientAsync(this IFeatureManager featureManager, string clientId, bool fallback = true)
 {
     return(featureManager.GetAllAsync(ClientFeatureValueProvider.ProviderName, clientId, fallback));
 }
Ejemplo n.º 4
0
 public static Task <List <FeatureNameValue> > GetAllForTenantAsync(this IFeatureManager featureManager, Guid tenantId, bool fallback = true)
 {
     return(featureManager.GetAllAsync(TenantFeatureValueProvider.ProviderName, tenantId.ToString(), fallback));
 }
Ejemplo n.º 5
0
 public static Task <List <FeatureNameValue> > GetAllForUserAsync(this IFeatureManager featureManager, Guid userId, bool fallback = true)
 {
     return(featureManager.GetAllAsync(UserFeatureValueProvider.ProviderName, userId.ToString(), fallback));
 }
Ejemplo n.º 6
0
 public static Task <List <FeatureNameValue> > GetAllForCurrentTenantAsync(this IFeatureManager featureManager, bool fallback = true)
 {
     return(featureManager.GetAllAsync(TenantFeatureValueProvider.ProviderName, null, fallback));
 }