You don't need the call to Activator.CreateInstance in there - attributes do actually apply to types, not instances. This would be a better check:
if(! Attribute.IsDefined(result.ValidatorType, typeof(DontAutoWireAttribute))) { // ... }
You don't need the call to Activator.CreateInstance in there - attributes do actually apply to types, not instances. This would be a better check:
if(! Attribute.IsDefined(result.ValidatorType, typeof(DontAutoWireAttribute))) { // ... }