title: How to get component type from location/url/route
body: <h2>Scenario:</h2>
  <p>I have a Blazor Server Side app with basic routing and after navigation I need to check whether current page implements particular interface.
  e.g.:</p>
  <pre><code>NavigationService.LocationChanged += (sender, args) =&gt; 
  {
    Type componentType = GetComponetFromLocation(args.Location);
    if (!componentType.GetInterfaces().Contains(typeof(PageBase)) {
    }
  }
  </code></pre>
  <h2>Question:</h2>
  <p>How do I get the Component Type for current or a specific url/location?</p>