Class TypeExtensions
- Namespace
- XENBIT.ResQueServe.Localization
- Assembly
- RQS.Localization.dll
public static class TypeExtensions
- Inheritance
-
TypeExtensions
- Inherited Members
Methods
GetDisplayDescription(PropertyInfo)
public static string GetDisplayDescription(this PropertyInfo propertyInfo)
Parameters
propertyInfo
PropertyInfo
Returns
GetDisplayDescription(Type, string)
Retrieves the localized display description of a property, if available. If not, returns the string representation of the property name.
public static string GetDisplayDescription(this Type type, string propertyName)
Parameters
Returns
- string
The display description of the property, or null if not found.