Пример #1
0
 private void RequestAllValues(RequestAllValues obj)
 {
     if (GetChild(obj.SettingScope, out var actor))
     {
         Context.Sender.Tell(ImmutableDictionary <string, string> .Empty);
     }
     else
     {
         actor.Forward(obj);
     }
 }
Пример #2
0
 private void RequestAllValues(RequestAllValues obj)
 => Match(GetChild(obj.SettingScope),
          actor => actor.Forward(obj),
          () => Context.Sender.Tell(ImmutableDictionary <string, string> .Empty));