Function: analyzes the calling levels of functions in class files.
Now it is a simple version. It can only analyze the calling levels of functions in class files, but cannot analyze the calling levels of attributes.
Put this simple version here first. After all, this function is enough for my personal use. If anyone supports it, please take a bubble and I will continue.
Version 1.0
This tool is designed to help the project manager checkCode, HelpProgramRead the code.
Usage:
Paste the code to be analyzed to Area 1 #. Click the parse fun button and the result is displayed in area 2. From the current analysis results, we can see that this class file contains the functions dbdata, getitemlist, getitem, getconnection, generatecommandtext, buildcommandparameter;
The relationship between them to be used is
Getitemlist calls getconnection, generatecommandtext, buildcommandparameter
The above describes how to use the code function.
Another button is used to convert the Code definition of datatable in C # into an object class. During my usual development, I often encounter the use of datatable to process business logic. In order to easily convert datatable into strong-type code, I wrote this function. Now, refer to the introduction.
Copy the datatable creation code in the code to Area 1 #, for example
Columns. Add ("reservationid", typeof (long ));
....
Enter the type and click the parse class button to get the object class declaration code.
Let's write it here. I hope you will give more comments.
1.0.0.1
1.0.1.1
For more information, go to C # code analyser and other development backgrounds.