diff --git a/src/Unleash/DefaultUnleash.cs b/src/Unleash/DefaultUnleash.cs
index dcd7e54c..ff83d135 100644
--- a/src/Unleash/DefaultUnleash.cs
+++ b/src/Unleash/DefaultUnleash.cs
@@ -124,7 +124,7 @@ public Variant GetVariant(string toggleName, Variant defaultVariant)
return GetVariant(toggleName, services.ContextProvider.Context, defaultVariant);
}
- private Variant GetVariant(string toggleName, UnleashContext context, Variant defaultValue)
+ public Variant GetVariant(string toggleName, UnleashContext context, Variant defaultValue)
{
var toggle = GetToggle(toggleName);
diff --git a/src/Unleash/IUnleash.cs b/src/Unleash/IUnleash.cs
index 691f56c3..ebbfdbbb 100644
--- a/src/Unleash/IUnleash.cs
+++ b/src/Unleash/IUnleash.cs
@@ -46,21 +46,28 @@ public interface IUnleash : IDisposable
///
/// Get a weighted variant from a feature that is available.
- /// Should be used with care, is not a sticky variant, will weight by call.
///
/// The name of the toggle
- /// A weighted variant or null if feature is not available
+ /// A weighted variant or Variant.DISABLED_VARIANT if feature is not available
Variant GetVariant(string toggleName);
///
/// Get a weighted variant from a feature that is available.
- /// Should be used with care, is not a sticky variant, will weight by call.
///
/// The name of the toggle
- /// If a toglge is not found, the default value will be returned. (Default: Variant.DISABLED_VARIANT)
- /// A weighted variant or null if feature is not available
+ /// If a toggle is not found, the default value will be returned.
+ /// A weighted variant or the supplied default value if feature is not available
Variant GetVariant(string toggleName, Variant defaultValue);
+ ///
+ /// Get a weighted variant from a feature that is available.
+ ///
+ /// The name of the toggle
+ /// The Unleash context to evaluate the toggle state against
+ /// If a toggle is not found, the default value will be returned.
+ /// A weighted variant or the supplied default value if feature is not available
+ Variant GetVariant(string toggleName, UnleashContext context, Variant defaultValue);
+
IEnumerable GetVariants(string toggleName);
}
}
\ No newline at end of file