void FeatureFlagChanged(object sender, FlagChangedEventArgs args) { if (args.Key == LaunchDarklyParameters.FlagKey) { UpdateFlagValue(); } }
private void OnFlagChanged(object sender, FlagChangedEventArgs e) { if (flagCallbacks.ContainsKey(e.Key)) { foreach (CallbackInfo callbackInfo in flagCallbacks[e.Key]) { callbackInfo.callback(e.NewValue); } } }
public void Handler(object sender, FlagChangedEventArgs args) { _events.Add(args); }