Click or drag to resize
MultilingualMessageRepositoryExtensionRegister Method (IMultilingualMessageRepository, ResourceManager, CultureInfo)
Registers a resource as a multilingual translation from a resource manager containing key (messageId) and translation

Namespace: FlexRule.Translation
Assembly: FlexRule.Core.Library (in FlexRule.Core.Library.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static void Register(
	this IMultilingualMessageRepository repository,
	ResourceManager resource,
	CultureInfo culture
)

Parameters

repository
Type: FlexRule.TranslationIMultilingualMessageRepository
resource
Type: System.ResourcesResourceManager
culture
Type: System.GlobalizationCultureInfo
null if this is a default translation for all cultures

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMultilingualMessageRepository. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also