You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<PackageDescription>Client SDK for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://flagsmith.com/</PackageDescription>
<PackageDescription>Client SDK for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://flagsmith.com/</PackageDescription>
Copy file name to clipboardExpand all lines: Flagsmith.FlagsmithClient/FlagsmithClient.cs
+2-81Lines changed: 2 additions & 81 deletions
Original file line number
Diff line number
Diff line change
@@ -75,8 +75,8 @@ private void Initialise()
75
75
{
76
76
if(!_config.EnvironmentKey!.StartsWith("ser."))
77
77
{
78
-
Console.WriteLine(
79
-
"In order to use local evaluation, please generate a server key in the environment settings page."
78
+
thrownewException(
79
+
"ValueError: In order to use local evaluation, please generate a server key in the environment settings page."
80
80
);
81
81
}
82
82
@@ -99,85 +99,6 @@ public FlagsmithClient(FlagsmithConfiguration configuration)
99
99
Initialise();
100
100
}
101
101
102
-
/// <summary>
103
-
/// Create flagsmith client.
104
-
/// </summary>
105
-
/// <param name="environmentKey">The environment key obtained from Flagsmith interface. Required unless offlineMode is True</param>
106
-
/// <param name="apiUrl">Override the URL of the Flagsmith API to communicate with. Required unless offlineMode is True</param>
107
-
/// <param name="logger">Provide logger for logging polling info and errors which is only applicable when client side evalution is enabled and analytics errors.</param>
108
-
/// <param name="defaultFlagHandler">Callable which will be used in the case where flags cannot be retrieved from the API or a non existent feature is requested.</param>
109
-
/// <param name="enableAnalytics">if enabled, sends additional requests to the Flagsmith API to power flag analytics charts.</param>
110
-
/// <param name="enableClientSideEvaluation">If using local evaluation, specify the interval period between refreshes of local environment data.</param>
0 commit comments