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);
        }