public string GetPreparedCommandString(string CommandString, CommandStringType csType) { switch (ParameterProcessingMode) { case ParameterMode.Local: if (csType == CommandStringType.Filter) { return(StringProcessor.GetPreparedLocalCommandString(CommandString)); } else { return(CommandString); } case ParameterMode.Global: return(StringProcessor.GetPreparedGlobalCommandString(CommandString)); default: return(null); } }