A
Size: a a a
A
E
VK
VK
DB
class RequiredForValidateAttribute : Attribute {}Как то так
class Foo {
[RequiredForValidate]
public string Bar {get;set;}
}
var propertiesForValidate = typeof(Foo).GetProperties()
.Where(prop => prop.IsDefined(typeof(RequiredForValidateAttribute), false));
Validate(propertiesForValidate);
RB
IC
RB
RB
RB
RB
RB
RB
IC
RB
IC