aopmethodsgenerator
** C# 9.0 ONLY ** Autogenerates public methods from a class . ( replace below single quotes with double quotes) [AutoMethods(template = TemplateMethod.CallerAtttributes, MethodPrefix ='pub', MethodSuffix ='bup')] partial class Person { public string LastName { get; set; } public string FirstName { get; set; } private string pubFullName() { return FirstName + ' ' + LastName; } private void pubWriteToConsoleFullName() { Console.WriteLine(this.FullName()); } } // it will generate for this class the public methods public string FullName public string WriteToConsoleFullName Add also Nuget package AOPMethodsCommon You can have your own template - read the readme.txt
nuget.org
2022.5.20.2101
almost 4 years ago
15
141,189 total
2
Links
| Registry | nuget.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:nuget/aopmethodsgenerator
spec |
| License | MIT |
| First Release | about 5 years ago |
| Last Synced | 20 days ago |
Repository
| Stars | 74 on GitHub |
| Forks | 8 on GitHub |