Prerequisites: A valid RuleSession
Namespaces: InRule.Runtime
Classes: RuleSession
See Also: InRule Culture Settings
The following using statements are required
using System.Threading;
using System.Globalization;
// Create CultureInfo object, passing in desired culture
CultureInfo newCulture = new CultureInfo("fr-FR");
// Assign to current thread before applying rules
Thread.CurrentThread.CurrentCulture = newCulture;
// Apply rules
ruleSession.ApplyRules();
Comments
0 comments
Please sign in to leave a comment.