2020
2121using System . Collections . Generic ;
2222using OptimizelySDK . Entity ;
23+ using OptimizelySDK . OptlyConfig ;
2324
2425namespace OptimizelySDK
2526{
@@ -151,6 +152,29 @@ string GetFeatureVariableString(string featureKey, string variableKey, string us
151152 UserAttributes userAttributes = null
152153 ) ;
153154
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+
154178 /// <summary>
155179 /// Get the list of features that are enabled for the user.
156180 /// </summary>
@@ -159,6 +183,11 @@ string GetFeatureVariableString(string featureKey, string variableKey, string us
159183 /// <returns>List of the feature keys that are enabled for the user.</returns>
160184 List < string > GetEnabledFeatures ( string userId , UserAttributes userAttributes = null ) ;
161185
186+ /// <summary>
187+ /// Get OptimizelyConfig containing experiments and features map
188+ /// </summary>
189+ /// <returns>OptimizelyConfig Object</returns>
190+ OptimizelyConfig GetOptimizelyConfig ( ) ;
162191 #endregion
163192
164193#if USE_ODP
0 commit comments