protected override void ProcessRecord() { WriteObject(HistoricalData.ParseCsv(CsvPath, Ticker, Name, (HistoricalData.HistoricalDataType)Enum.Parse(typeof(HistoricalData.HistoricalDataType), _runtimeParamsDict["HistoricalDataType"].Value.ToString(), true))); }