Bickle.Utility.ReflectionExtensions.GetPropertyWithReflection C# (CSharp) Method

GetPropertyWithReflection() public static method

public static GetPropertyWithReflection ( this target, string prop ) : object
target this
prop string
return object
        public static object GetPropertyWithReflection(this object target, string prop)
        {
            return target.GetType().GetProperty(prop).GetValue(target, null);
        }