Bickle.Utility.ReflectionExtensions.GetPropertyWithReflection C# (CSharp) Метод

GetPropertyWithReflection() публичный статический Метод

public static GetPropertyWithReflection ( this target, string prop ) : object
target this
prop string
Результат object
        public static object GetPropertyWithReflection(this object target, string prop)
        {
            return target.GetType().GetProperty(prop).GetValue(target, null);
        }