C # Code Analyzer version 1.0 developed

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.