HandCoded.Validation.RuleSet.RuleSet C# (CSharp) Method

RuleSet() static private method

Causes the RuleSet class to try and bootstrap the business rules from a configuration file.
static private RuleSet ( ) : System
return System
        static RuleSet()
        {
            logger.Debug ("Bootstrapping");

            try {
                ParseRuleSets (
                    Path.Combine (AppDomain.CurrentDomain.BaseDirectory,
                        ConfigurationManager.AppSettings ["HandCoded.FpML Toolkit.BusinessRules"]));
            }
            catch (Exception error) {
                logger.Error ("Unable to load standard rule set definitions", error);
            }

            logger.Debug ("Completed");
        }

Same methods

RuleSet::RuleSet ( string name ) : System