public ShardLocations() { Receive<GetLocations>(_ => Sender.Tell(_locations)); Receive<Locations>(l => _locations = l); } }