示例#1
0
 private static object GetPropertyValueByName(WebSite website, string propertyName)
 => website
 .GetType()
 .GetProperty(propertyName)
 .GetValue(website, null);