AutoFixture/AutoFixture — pull request #121 by markwoodhall (2013-06-17 17:54:07+00:00)
Title: #92 [NoAutoProperties] Attibute

There is now a `[NoAutoProperties]` attribute that will disable automatic property population for a specified type.

[Theory, MyAutoData]
public void OmitsAutoPropertiesOnlyForSecondParameterAndNotThird(
Foo first,
[NoAutoProperties]Foo second,
Foo third)
{
Assert.NotEqual(0, first.AutoPropertyInt);
Assert.NotEqual(null, first.AutoPropertString);
Assert.Equal(0, second.AutoPropertyInt);
Assert.Equal(null, second.AutoPropertString);
Assert.NotEqual(0, third.AutoPropertyInt);
Assert.NotEqual(null, third.AutoPropertString);
}