title: Read class properties in mvc4 T4 template
body: <p>I am working on a T4 Template that will generate View Models based on a entities on core.
  For example I have News class in Core and I want this template to Generate view models like these</p>
  
  <pre><code>public class News
  {
      public property int Id {get;set;}
      public property string Title {get;set;}
      public property string Content {get;set;}
  }
  
  public class NewsCreate
  {
      public property int Id {get;set;}
      public property string Title {get;set;}
      public property string Content {get;set;}
  }
  public class NewsUpdate
  {
      public property int Id {get;set;}
      public property string Title {get;set;}
      public property string Content {get;set;}
  } 
  </code></pre>
  
  <p>for now just these two. but I could not find a way to get the properties of News class.
  how can I use reflection to get them and . . . </p>