NZBDash.Common.Mapping.MappingHelper.GetPropValue C# (CSharp) Method

GetPropValue() private static method

private static GetPropValue ( object src, string propName ) : object
src object
propName string
return object
        private static object GetPropValue(object src, string propName)
        {
            return src.GetType().GetProperty(propName).GetValue(src, null);
        }