AOPMethodsGenerator 2022.5.20.2101
dotnet add package AOPMethodsGenerator --version 2022.5.20.2101
NuGet\Install-Package AOPMethodsGenerator -Version 2022.5.20.2101
<PackageReference Include="AOPMethodsGenerator" Version="2022.5.20.2101" />
paket add AOPMethodsGenerator --version 2022.5.20.2101
#r "nuget: AOPMethodsGenerator, 2022.5.20.2101"
// Install AOPMethodsGenerator as a Cake Addin #addin nuget:?package=AOPMethodsGenerator&version=2022.5.20.2101 // Install AOPMethodsGenerator as a Cake Tool #tool nuget:?package=AOPMethodsGenerator&version=2022.5.20.2101
** 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
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 3.9.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AOPMethodsGenerator:
Package | Downloads |
---|---|
HandeSoft.Core
Package Description |
|
RSCG_AMS
This package lets you put record the commit , date , and more for your software . |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2022.5.20.2101 | 37,786 | 5/21/2022 |
2021.6.11.907 | 64,904 | 6/11/2021 |
2021.6.10.2012 | 1,090 | 6/10/2021 |
2021.5.28.1450 | 2,555 | 5/28/2021 |
2021.5.26.1330 | 2,491 | 5/26/2021 |
2021.5.26.1219 | 1,093 | 5/26/2021 |
2021.5.17.2230 | 2,210 | 5/17/2021 |
2021.5.16.2240 | 1,097 | 5/16/2021 |
2021.2.27.640 | 1,249 | 2/27/2021 |
2021.2.22.1941 | 1,412 | 2/22/2021 |
2021.2.22.1125 | 1,274 | 2/22/2021 |
2021.1.23.1000 | 1,270 | 1/23/2021 |
2021.1.13.1000 | 1,226 | 1/13/2021 |
2021.1.10.1800 | 1,201 | 1/10/2021 |
2021.1.9.2000 | 1,120 | 1/9/2021 |