public static object[,] GetResults([ExcelArgument(Description = "The results object as returned by a call to another QuantSA function")] ResultStore resultStore, [ExcelArgument(Description = "The name of the result required. Use QSA.GetAvailableResults to get a list of all available results in this object.")] string resultName) { if (resultStore.IsDate(resultName)) { return(resultStore.GetDates(resultName)); } if (resultStore.IsString(resultName)) { return(resultStore.GetStrings(resultName)); } return(resultStore.Get(resultName)); }
public ResultInfo GetResult(string key) { return(ResultStore.Get(key)); }