/// <summary> /// 获取propertyName指定的属性值 /// </summary> /// <param name="propertyName">属性名称</param> /// <param name="defaultValue">如果未找到则返回该默认值</param> public T GetExtendedProperty <T>(string propertyName, T defaultValue) { return(PropertySerializer.GetExtendedProperty <T>(propertyName, defaultValue)); }
/// <summary> /// 获取propertyName指定的属性值 /// </summary> /// <param name="propertyName">属性名称</param> public T GetExtendedProperty <T>(string propertyName) { return(PropertySerializer.GetExtendedProperty <T>(propertyName)); }