コード例 #1
0
        public void AssemblyScanTestMethod2()
        {
            Scanner scaner = new Scanner();

            scaner.AssemblyLoad("");
            scaner.AssemblyScan();
        }
コード例 #2
0
        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());
        }
コード例 #3
0
        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;
        }