ianwaldrop
7/4/2014 - 2:35 AM

Get Properties with Attribute

Get Properties with Attribute

var props = t.GetProperties().Where(
                prop => Attribute.IsDefined(prop, typeof(T)));