Skip to content

Commit b62fc68

Browse files
OASIS-2504 [C#] Release 2.0.0-beta1 (#71)
* Revert "Eventdispatcherissue (#35) (#54)" This reverts commit 5df7cfb. * Bump version to 2.0 beta. * Update OptimizelySDK.nuspec * AssemblyVersion = 2.0.0.0 * Improved 1.3.1 DemoApp * Updated OptimizelySDK.Package and OptimizelySDK.nuspec * keypair.snk for *.sln, *.csproj * CHANGELOG.md corrections * SDK_VERSION synch with NuGet package version. * Make 'UserAttributes userAttributes = null' optional in 5 API's * Update verifysn.ps1 and DemoApp.csproj to 2.0.0-beta1
1 parent 53bd00f commit b62fc68

File tree

111 files changed

+54939
-27144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+54939
-27144
lines changed

CHANGELOG.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
## 2.0.0-beta1
2-
32
March 29th, 2018
43

5-
This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
4+
This major release of the Optimizely SDK introduces APIs for Feature Management.
65

76
### New Features
8-
* Introduces the `isFeatureEnabled` API to determine whether to show a feature to a user or not.
7+
* Introduces the `IsFeatureEnabled` API to determine whether to show a feature to a user or not.
98
```
10-
var enabled = optimizelyClient.isFeatureEnabled("my_feature_key", "user_1", userAttributes);
9+
var enabled = OptimizelyClient.IsFeatureEnabled("my_feature_key", "user_1", userAttributes);
1110
```
1211

1312
* You can also get all the enabled features for the user by calling the following method which returns a list of strings representing the feature keys:
1413
```
15-
var enabledFeatures = optimizelyClient.getEnabledFeatures("user_1", userAttributes);
14+
var enabledFeatures = OptimizelyClient.GetEnabledFeatures("user_1", userAttributes);
1615
```
1716

1817
* Introduces Feature Variables to configure or parameterize your feature. There are four variable types: `Integer`, `String`, `Double`, `Boolean`.
1918
```
20-
var stringVariable = optimizelyClient.getFeatureVariableString("my_feature_key", "string_variable_key", "user_1");
21-
var integerVariable = optimizelyClient.getFeatureVariableInteger("my_feature_key", "integer_variable_key", "user_1");
22-
var doubleVariable = optimizelyClient.getFeatureVariableDouble("my_feature_key", "double_variable_key", "user_1");
23-
var booleanVariable = optimizelyClient.getFeatureVariableBoolean("my_feature_key", "boolean_variable_key", "user_1");
19+
var stringVariable = OptimizelyClient.GetFeatureVariableString("my_feature_key", "string_variable_key", "user_1", userAttributes);
20+
var integerVariable = OptimizelyClient.GetFeatureVariableInteger("my_feature_key", "integer_variable_key", "user_1", userAttributes);
21+
var doubleVariable = OptimizelyClient.GetFeatureVariableDouble("my_feature_key", "double_variable_key", "user_1", userAttributes);
22+
var booleanVariable = OptimizelyClient.GetFeatureVariableBoolean("my_feature_key", "boolean_variable_key", "user_1", userAttributes);
2423
```
2524

2625
## 1.3.1
@@ -68,7 +67,7 @@ OptimizelyClient.Track(eventKey, userId, attributes, eventTags);
6867

6968
* Introduce Forced Variation - This allows you to force users into variations programmatically in real time for QA purposes without requiring datafile downloads from the network.
7069
```
71-
var result = OptimizelyClient.setForcedVariation(experimentKey, userId, forcedVariationKey);
70+
var result = OptimizelyClient.SetForcedVariation(experimentKey, userId, forcedVariationKey);
7271
```
7372

7473
* Upgrade to use new [event API](https://developers.optimizely.com/x/events/api/index.html).
19.2 KB
Loading
33.7 KB
Loading
31.4 KB
Loading
56.3 KB
Loading
45.3 KB
Loading
47.3 KB
Loading
63.2 KB
Loading
52.2 KB
Loading
53.5 KB
Loading

OptimizelySDK.DemoApp/Content/Site.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
body {
2-
padding-top: 50px;
32
padding-bottom: 20px;
43
}
54

0 commit comments

Comments
 (0)