diff --git a/Sdk/FeatureContainer.cs b/Sdk/FeatureContainer.cs index 4c43989..0ba5884 100644 --- a/Sdk/FeatureContainer.cs +++ b/Sdk/FeatureContainer.cs @@ -128,5 +128,10 @@ public static void SetupFeatureClients(this IServiceCol collection.AddSingleton(worker); collection.AddScoped(); } + + public static bool IsFeatureOn(this FeatureClient instance, string featId) + { + return instance.GetVariant(featId) == 'B'; + } } }