Table of Contents

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

string

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

type Type

The type to search for the property.

propertyName string

The name of the property.

Returns

string

The display description of the property, or null if not found.