File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed
src/Octopus.OpenFeature.Provider Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55
66namespace Octopus . OpenFeature . Provider ;
77
8- internal class FeatureToggles ( FeatureToggleEvaluation [ ] evaluations , byte [ ] contentHash )
8+ public class FeatureToggles ( FeatureToggleEvaluation [ ] evaluations , byte [ ] contentHash )
99{
1010 public FeatureToggleEvaluation [ ] Evaluations { get ; } = evaluations ;
1111
1212 public byte [ ] ContentHash { get ; } = contentHash ;
1313}
1414
15- internal record FeatureToggleEvaluation (
16- string Slug ,
17- bool IsEnabled ,
18- string ? EvaluationKey ,
19- KeyValuePair < string , string > [ ] ? Segments ,
20- int ? ClientRolloutPercentage
21- ) ;
15+ public class FeatureToggleEvaluation (
16+ string slug ,
17+ bool isEnabled ,
18+ string ? evaluationKey ,
19+ KeyValuePair < string , string > [ ] ? segments ,
20+ int ? clientRolloutPercentage )
21+ {
22+ public string Slug { get ; } = slug ;
23+ public bool IsEnabled { get ; } = isEnabled ;
24+ public string ? EvaluationKey { get ; } = evaluationKey ;
25+ public KeyValuePair < string , string > [ ] ? Segments { get ; } = segments ;
26+ public int ? ClientRolloutPercentage { get ; } = clientRolloutPercentage ;
27+ }
2228
2329interface IOctopusFeatureClient
2430{
You can’t perform that action at this time.
0 commit comments