I have a class with a property and an attribute to validate that property:
class Foo { [Required] public string Name { get; set; } }
The \'Re