I\'ve written a custom attribute that I use on certain members of a class:
public class Dummy { [MyAttribute] public string Foo { get; set; } [MyAtt
You get array of PropertyInfo using .GetProperties() and call PropertyInfo.GetValue Method on each
PropertyInfo
.GetProperties()
Call it this way:
var value = prop.GetValue(o, null);