title: Xamarin.Forms Shell how to inject multiple and different values ​to string in route navigation
body: <p>How can any property be injected into a page that we navigate using <a href="https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/shell/navigation" rel="nofollow noreferrer">Shell</a> With Xamarin's native navigation it is simple since you have to instantiate the type of the page:</p>
  
  <pre><code>Navigation.PushAsync(new HomeViewPage { x = y });
  </code></pre>
  
  <p>In Shell only lets me pass string values</p>
  
  <pre><code>Shell.Current.GoToAsync($"//home/bottomtab2?name={"Cat"}");
  </code></pre>
  
  <p>I am trying to pass a Boolean value and it shows me the following error:
  <strong>'Object of type 'System.String' cannot be converted to type 'System.Boolean'.'</strong></p>
  
  <pre><code>Shell.Current.GoToAsync($"//home/bottomtab2?test={true}");
  </code></pre>
  
  <p>And if you tried to send several parameters, none of the sent parameters work, is there a way to send several simultaneously?</p>
  
  <pre><code>Shell.Current.GoToAsync($"//home/bottomtab2?name={"Cat"}?test={"Dog"}");
  </code></pre>