Localizes a collection of validation issues with content defined in Validation.resx
Namespace:
RainWorx.FrameWorx.MVC.HelpersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public static List<ValidationIssue> LocalizeCustomFieldValidationMessages( this Controller controller, IEnumerable<ValidationIssue> issues )
Parameters
- controller
- Type: Controller
an instance of the Controller class - issues
- Type: System.Collections.GenericIEnumerableValidationIssue
an enumerable list of validation issues
Return Value
Type: ListValidationIssuea list of validation issues with the messages locaized
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Controller. 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