File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ public static Optimizely NewDefaultInstance()
8383 . WithFormat ( httpProjectConfigElement . Format )
8484 . WithPollingInterval ( TimeSpan . FromMilliseconds ( httpProjectConfigElement . PollingInterval ) )
8585 . WithBlockingTimeoutPeriod ( TimeSpan . FromMilliseconds ( httpProjectConfigElement . BlockingTimeOutPeriod ) )
86+ #if ! NET40 && ! NET35
8687 . WithAccessToken ( httpProjectConfigElement . DatafileAccessToken )
88+ #endif
8789 . WithLogger ( logger )
8890 . WithErrorHandler ( errorHandler )
8991 . WithNotificationCenter ( notificationCenter )
@@ -109,7 +111,7 @@ public static Optimizely NewDefaultInstance()
109111 }
110112#endif
111113
112- public static Optimizely NewDefaultInstance ( string sdkKey )
114+ public static Optimizely NewDefaultInstance ( string sdkKey )
113115 {
114116 return NewDefaultInstance ( sdkKey , null ) ;
115117 }
You can’t perform that action at this time.
0 commit comments