Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Lingo.LingoTypeDescriptionProvider<TTranslation>

Summary

Provides a type descriptor which supports translation of various string values using the Lingo conventions (see remarks).

Generic type parameters

TTranslationThe type of the translation class.

Remarks

Every property requiring translatable name/description/category should have a corresponding method in the same class. This method should be static, named the same as the property with a "Tr" suffix, take a translation instance and return a MemberTr.

Constructors

LingoTypeDescriptionProvider<TTranslation>(Func<TTranslation> getTranslation)
Constructs a type description provider using the specified translation getter.

Instance methods

ICustomTypeDescriptor
GetTypeDescriptor(Type objectType, object instance)
  • Overrides: TypeDescriptionProvider.GetTypeDescriptor(Type, object)
Override; see base.