title: ASP.net MVC - rendering a List containing different types, with a different view for each type
body: <p>Imagine I have a list of objects that implement an interface called ISummary
  The objects within this list MAY have additional properties ie.</p>
  
  <pre><code>public interface ISummary {
    Guid Id {get;set;}
    string Title {get;set;}
    DateTime Created {get;set;}
  }
  
  public class GigSummary: ISummary {
   Guid Id {get;set;}
   string Title {get;set;}
   DateTime Created {get;set;}
   string VenueName {get;set}
   string Band {get;set;}
  }
  
  public class NewsSummary: ISummary {
   Guid Id {get;set;}
   string Title {get;set;}
   DateTime Created {get;set;}
   string Author{get;set}
  }
  </code></pre>
  
  <p>I now pass this list of Gigs and News Summary objects (as a list of ISummary) to the view as the model.</p>
  
  <p>I want to render this list using a different partial for each type contained in the list.</p>
  
  <p>How can I do this is ASP.NET MVC?</p>