07cc4be6a7
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
25 lines
775 B
C#
25 lines
775 B
C#
#pragma warning disable CS1591
|
|
|
|
namespace MediaBrowser.Model.Diagnostics
|
|
{
|
|
public interface IProcessFactory
|
|
{
|
|
IProcess Create(ProcessOptions options);
|
|
}
|
|
|
|
public class ProcessOptions
|
|
{
|
|
public string FileName { get; set; }
|
|
public string Arguments { get; set; }
|
|
public string WorkingDirectory { get; set; }
|
|
public bool CreateNoWindow { get; set; }
|
|
public bool UseShellExecute { get; set; }
|
|
public bool EnableRaisingEvents { get; set; }
|
|
public bool ErrorDialog { get; set; }
|
|
public bool RedirectStandardError { get; set; }
|
|
public bool RedirectStandardInput { get; set; }
|
|
public bool RedirectStandardOutput { get; set; }
|
|
public bool IsHidden { get; set; }
|
|
}
|
|
}
|