Skip to content

darklordzw/growthbook-c-sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ 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.

growthbook-c-sharp

Powerful Feature flagging and A/B testing for C# apps using GrowthBook

Usage

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)

About

Powerful Feature flagging and A/B testing for C# apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages