AnthonySteele/MvcRouteTester — pull request #27 by krimsonkla (2013-11-01 12:43:49+00:00)
Title: Allow model validation to ignore certain properties on the models based on the property attributes.

This is especially useful in cases where you have properties which should not be deserialize or serialized in a webapi.
Example Attributes:
JsonIgnoreAttribute - non serialized property in a json webapi
BSonIgnoreAttriute - mongo database ignored property

The setup for this uses a static prop on the PropertyReader. This path was taken to allow single setup within a TestFixture. A more fluent approach became rather wordy in each test.

Example Usage:
PropertyReader.IgnoreAttributes(new[] { typeof(JsonIgnoreAttribute), typeof(BsonIgnoreAttribute) });