public InstallationInformation(List <GameTarget> targetsList, GameTarget selectedTarget) { DataContext = this; InstallationTargets.AddRange(targetsList); LoadCommands(); InitializeComponent(); SelectedTarget = selectedTarget; }
public InstallationInformation(List <GameTarget> targetsList, GameTarget selectedTarget) { MemoryAnalyzer.AddTrackedMemoryItem(@"Installation Information Panel", new WeakReference(this)); DataContext = this; InstallationTargets.AddRange(targetsList); LoadCommands(); InitializeComponent(); SelectedTarget = selectedTarget; }