-
Notifications
You must be signed in to change notification settings - Fork 20
Adds IOptimizely interface #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting. We'll take a look. In the meantime, could you please go through our CONTRIBUTING MD doc and sign the CLA?
Done! |
OptimizelySDK/IOptimizely.cs
Outdated
/// <param name="userAttributes">The user's attributes</param> | ||
/// <param name="variableType">Variable type</param> | ||
/// <returns>string | null Feature variable value</returns> | ||
string GetFeatureVariableValueForType(string featureKey, string variableKey, string userId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this method, it is being used internally. no interface needed.
OptimizelySDK/Optimizely.cs
Outdated
@@ -360,7 +360,7 @@ public Variation GetForcedVariation(string experimentKey, string userId) | |||
/// Determine whether a feature is enabled. | |||
/// Send an impression event if the user is bucketed into an experiment using the feature. | |||
/// </summary> | |||
/// <param name="experimentKey">The experiment key</param> | |||
/// <param name="featureKey">The experiment key</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change 'experiment' to 'feature' in description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the feedback left by @msohailhussain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, will merge once tests pass on our end
Fixes #92.
Extracted an interface for all public members.
Also fixed a couple of the xmldocs.