20
20
21
21
using System . Collections . Generic ;
22
22
using OptimizelySDK . Entity ;
23
+ using OptimizelySDK . OptlyConfig ;
23
24
24
25
namespace OptimizelySDK
25
26
{
@@ -151,6 +152,29 @@ string GetFeatureVariableString(string featureKey, string variableKey, string us
151
152
UserAttributes userAttributes = null
152
153
) ;
153
154
155
+ /// <summary>
156
+ /// Gets json sub type feature variable value.
157
+ /// </summary>
158
+ /// <param name="featureKey">The feature flag key</param>
159
+ /// <param name="variableKey">The variable key</param>
160
+ /// <param name="userId">The user ID</param>
161
+ /// <param name="userAttributes">The user's attributes</param>
162
+ /// <returns>OptimizelyJson | Feature variable value or null</returns>
163
+ OptimizelyJSON GetFeatureVariableJSON ( string featureKey , string variableKey ,
164
+ string userId , UserAttributes userAttributes = null
165
+ ) ;
166
+
167
+ /// <summary>
168
+ /// Get the values of all variables in the feature.
169
+ /// </summary>
170
+ /// <param name="featureKey">The feature flag key</param>
171
+ /// <param name="userId">The user ID</param>
172
+ /// <param name="userAttributes">The user's attributes</param>
173
+ /// <returns>string | null An OptimizelyJSON instance for all variable values.</returns>
174
+ OptimizelyJSON GetAllFeatureVariables ( string featureKey , string userId ,
175
+ UserAttributes userAttributes = null
176
+ ) ;
177
+
154
178
/// <summary>
155
179
/// Get the list of features that are enabled for the user.
156
180
/// </summary>
@@ -159,6 +183,11 @@ string GetFeatureVariableString(string featureKey, string variableKey, string us
159
183
/// <returns>List of the feature keys that are enabled for the user.</returns>
160
184
List < string > GetEnabledFeatures ( string userId , UserAttributes userAttributes = null ) ;
161
185
186
+ /// <summary>
187
+ /// Get OptimizelyConfig containing experiments and features map
188
+ /// </summary>
189
+ /// <returns>OptimizelyConfig Object</returns>
190
+ OptimizelyConfig GetOptimizelyConfig ( ) ;
162
191
#endregion
163
192
164
193
#if USE_ODP
0 commit comments