⚠️ We've moved!': The source code for this package has been moved to be part of the main GrowthBook project. The new repository can be found here.
Powerful Feature flagging and A/B testing for C# apps using GrowthBook
This library is based on the GrowthBook SDK specs and should be compatible with the usage examples in the GrowthBook docs.
Because feature definitions are typically loaded from API calls or cache, Json.NET objects are used to represent arbitrary document types such as Attributes, Conditions, and Feature values.
To make it easier to deal with Feature values, generic getter functions are provided for the following:
- Experiment:
- GetVariations()
- ExperimentResult:
- GetValue()
- Feature:
- GetDefaultValue()
- FeatureResult:
- GetValue()
- Feature Rule:
- GetVariations()
- GrowthBook:
- GetFeatureValue(string key, T fallback)