title: Switch over PropertyType
body: <p>How can I make this work?</p>
  
  <pre><code>switch(property.PropertyType){
      case typeof(Boolean): 
          //doStuff
          break;
      case typeof(String): 
          //doOtherStuff
          break;
      default: break;
  }
  </code></pre>
  
  <p>I don't want to use the name since string comparing for types is just awfull and can be subject to change.</p>