private void RequestAllValues(RequestAllValues obj) { if (GetChild(obj.SettingScope, out var actor)) { Context.Sender.Tell(ImmutableDictionary <string, string> .Empty); } else { actor.Forward(obj); } }
private void RequestAllValues(RequestAllValues obj) => Match(GetChild(obj.SettingScope), actor => actor.Forward(obj), () => Context.Sender.Tell(ImmutableDictionary <string, string> .Empty));