/// <summary> /// Executes a CALL statement configuration script against the target (StopWatch is passed along to track timout adherence) /// </summary> protected virtual void DoCALL(Stopwatch sw, ConfigSectionNode callStatement, ConfigSectionNode target) { InitStatement(callStatement); var path = callStatement.Value; var callTarget = callStatement.NavigateSection(path); if (!callTarget.Exists) { throw new ConfigException(StringConsts.CONFIGURATION_SCRIPT_CALL_TARGET_PATH_ERROR.Args(callStatement.RootPath, path)); } DoNode(sw, callTarget, target); }
private void doCALL(Stopwatch sw, ConfigSectionNode callStatement, ConfigSectionNode target) { initStatement(callStatement); var path = callStatement.Value; var callTarget = callStatement.NavigateSection(path); if (!callTarget.Exists) throw new ConfigException(StringConsts.CONFIGURATION_SCRIPT_CALL_TARGET_PATH_ERROR.Args(callStatement.RootPath, path) ); doNode(sw, callTarget, target); }