private void SendOutputToRelayer(List <string> output) { if (outputLogRelayer != null && output != null && output.Count > 0) { outputLogRelayer.RelayTextOutput(output); } }
private void SendOutputToRelayer(string output) { if (outputLogRelayer != null) { List <string> lstOutput = new List <string>(); lstOutput.Add((new DirectoryInfo(fileSorter.GetDirectory()).Name) + ": " + output); outputLogRelayer.RelayTextOutput(lstOutput); } }