public void AssemblyScanTestMethod2() { Scanner scaner = new Scanner(); scaner.AssemblyLoad(""); scaner.AssemblyScan(); }
public void AssemblyScanTestMethod() { Scanner scaner = new Scanner(); scaner.AssemblyLoad("D:\\Bsuir\\SPP\\CCP_Lab_1_Tracer\\CCP_Lab_1_Tracer\\bin\\Debug\\netcoreapp3.1\\CCP_Lab_1_Tracer.dll"); var inf = scaner.AssemblyScan(); var infoCel = new InfoCell(); Assert.AreEqual(infoCel.GetType(), inf.GetType()); }
private void btnOpenFile_Click(object sender, RoutedEventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); DataSet ds = new DataSet(); if (openFileDialog.ShowDialog() == true) { scanner.AssemblyLoad(openFileDialog.FileName); } info = scanner.AssemblyScan(); var nodes = new List <InfoCell>(); nodes.Add(info); assembly_info.ItemsSource = nodes; }