protected virtual void AssertConfigurationValid() { if (String.IsNullOrWhiteSpace(OutputFileNameToWatch) && String.IsNullOrWhiteSpace(ServiceName)) throw new ArgumentException("No Service or File was specified to be watched."); }