/// <summary> /// Public constructor for testing purposes. /// </summary> public ErrorLogHelper() { _deviceInformationHelper = new DeviceInformationHelper(); _processInformation = new ProcessInformation(); var crashesDirectoryLocation = System.IO.Path.Combine(Constants.AppCenterFilesDirectoryPath, ErrorStorageDirectoryName); _crashesDirectory = new Directory(crashesDirectoryLocation); }