private object EvaluateToObject(string commandString, bool hasReturn)
{
try
{
_journal.WriteLine(commandString);
return dispatcher.EvaluateToObject(commandString, hasReturn);
}
catch (Exception ex)
{
logService.WriteToLogLevel(dispatcher.GetErrorText(), LogLevelEnum.Error, ex);
throw new Exception(dispatcher.GetErrorText(), ex);
}
}
private XmlDocument EvaluateToObjectXml(string commandString)