A method and device for duplicating functions in c-sharp
A technology for copying methods and functions, applied in the direction of software testing/debugging, etc., can solve problems such as destroying the encapsulation of the original function
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0044] In one embodiment of the present invention, a method for copying functions in C-sharp is provided, figure 1 The overall flowchart of the function copy method in C-sharp provided by the embodiment of the present invention, the method includes: S1, obtaining the assembly of the C-sharp program, if the assembly is the assembly of the target function, then according to the The assembly obtains the metadata of the target function; S2, uses the metadata of the target function to create a copy function; S3, gets the function body of the target function, and sets the function body to the created copy function middle.
[0045] Specifically, in S1, C-sharp, also known as C#...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com