/// <summary> /// Loads a biz rule from a file /// </summary> /// <param name="path">path of the script to load</param> /// <param name="language">language to use for the rule</param> public void LoadBizRuleScript(string path, BizRuleLanguage language) { if (language == AzAlternative.BizRuleLanguage.Undefined) { throw new AzException("Undefined cannot be set for the script language."); } Instance.LoadBizRuleScript(path, language); }