public DiffWindow(string left, string right) { Data = new DiffData(); Data.DiffsLoaded += Data_DiffsLoaded; InitializeComponent(); if (!string.IsNullOrEmpty(left)) { OpenLeftPackage(left); } if (!string.IsNullOrEmpty(right)) { OpenRightPackage(right); } IconManager = new IconManager(); #if DEBUG menuMain.Items.Add(FindResource("debugMenu")); #endif }
public WebHost(DiffData data, int?port = null) : this(port) { DiffData = data ?? throw new ArgumentNullException(nameof(data)); }
public DiffPackageItem(DiffData diffData, string path, DiffPart part) { DiffData = diffData ?? throw new ArgumentNullException(nameof(diffData)); Path = path ?? throw new ArgumentNullException(nameof(path)); Part = part; }