private void LoadValuesFromParamFileIfPresent() { if (!HasParamFile()) { return; } if (_Reader != null) { return; } _Reader = new FileParamReader(_Parameters.GetStringValue("P")); }
public List <string> GetSearchString() { LoadValuesFromParamFileIfPresent(); string paramFile = GetParamFileName(); if (!String.IsNullOrEmpty(paramFile)) { FileParamReader reader = new FileParamReader(paramFile); return(reader.GetAllSearchStrings()); } return(new List <string>() { _Parameters.GetStringValue("S") }); }