title: How to Override Awesomium ResourceInterceptor
body: <p>I want to block certain images in Awesomium from appearing on the page. 
  This code does not work because the Awesomium IResourceInterceptor is not a class, it is an interface.</p>
  
  <pre><code>public class ResourceInterceptor : IResourceInterceptor
  {
  public bool NoImages { get; set; }
  
  private static string[] _imagesFileTypes = { ".png", ".jpg", ".jpeg", ".gif", ".bmp" };
  
  public ResourceResponse OnRequest(ResourceRequest request)
  {
      string ext = System.IO.Path.GetExtension(request.Url.ToString()).ToLower();
  
      if (NoImages &amp;&amp; _imagesFileTypes.Contains(ext))
      {
          request.Cancel();
      }
  
      return null;
  }
  
  public bool OnFilterNavigation(NavigationRequest request)
  {
      return false;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>How do I modify the OnRequest method of a IResourceInterceptor when it is an interface?</p>