File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
OptimizelySDK/OptlyConfig Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
using Newtonsoft . Json ;
18
+ using System ;
18
19
using System . Collections . Generic ;
19
20
20
21
namespace OptimizelySDK . OptlyConfig
@@ -27,7 +28,15 @@ public class OptimizelyConfig
27
28
public OptimizelyEvent [ ] Events { get ; private set ; }
28
29
public OptimizelyAudience [ ] Audiences { get ; private set ; }
29
30
public OptimizelyAttribute [ ] Attributes { get ; private set ; }
31
+
32
+ /// <summary>
33
+ /// This experimentsMap is for experiments of legacy projects only.
34
+ /// For flag projects, experiment keys are not guaranteed to be unique
35
+ /// across multiple flags, so this map may not include all experiments
36
+ /// when keys conflict.
37
+ /// </summary>
30
38
public IDictionary < string , OptimizelyExperiment > ExperimentsMap { get ; private set ; }
39
+
31
40
public IDictionary < string , OptimizelyFeature > FeaturesMap { get ; private set ; }
32
41
33
42
private string _datafile ;
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+ using System ;
16
17
using System . Collections . Generic ;
17
18
18
19
namespace OptimizelySDK . OptlyConfig
@@ -22,6 +23,8 @@ public class OptimizelyFeature : Entity.IdKeyEntity
22
23
23
24
public List < OptimizelyExperiment > ExperimentRules { get ; private set ; }
24
25
public List < OptimizelyExperiment > DeliveryRules { get ; private set ; }
26
+
27
+ [ Obsolete ( "Use experimentRules and deliveryRules." ) ]
25
28
public IDictionary < string , OptimizelyExperiment > ExperimentsMap { get ; private set ; }
26
29
public IDictionary < string , OptimizelyVariable > VariablesMap { get ; private set ; }
27
30
You can’t perform that action at this time.
0 commit comments