Click or drag to resize
IMultilingualMessageRepository Interface
Stores messages in a lookup with their translations

Namespace: FlexRule.Translation
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public interface IMultilingualMessageRepository : IMessageLookup

The IMultilingualMessageRepository type exposes the following members.

Methods
  NameDescription
Public methodLookup
Retrieve a message by its key from the repository
(Inherited from IMessageLookup.)
Public methodRegister
Registers a message lookup based on a culture
Public methodRegisterDefault
Registers a default template provider
Top
Extension Methods
  NameDescription
Public Extension MethodRegister(ResourceManager, CultureInfo)Overloaded.
Registers a resource as a multilingual translation from a resource manager containing key (messageId) and translation
(Defined by MultilingualMessageRepositoryExtension.)
Public Extension MethodRegister(IDictionaryString, String, CultureInfo)Overloaded.
Registers a resource as a multilingual translation from a dictionary containing key (messageId) and translation
(Defined by MultilingualMessageRepositoryExtension.)
Top
Remarks
Allows different translation of a message be registered and will be formatted and translated based on culture
See Also