internal FlagChangedEventArgs(string key, JToken newValue, JToken oldValue, bool flagWasDeleted) { Key = key; NewValue = ImmutableJsonValue.FromSafeValue(newValue); OldValue = ImmutableJsonValue.FromSafeValue(oldValue); FlagWasDeleted = flagWasDeleted; }
/// <see cref="ILdClient.AllFlags()"/> public IDictionary <string, ImmutableJsonValue> AllFlags() { return(flagCacheManager.FlagsForUser(User) .ToDictionary(p => p.Key, p => ImmutableJsonValue.FromSafeValue(p.Value.value))); }