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" />
<PackageVersion Include="AOPMethodsGenerator" Version="2022年5月20日.2101" />Directory.Packages.props
<PackageReference Include="AOPMethodsGenerator" />Project file
paket add AOPMethodsGenerator --version 2022年5月20日.2101
#r "nuget: AOPMethodsGenerator, 2022年5月20日.2101"
#:package AOPMethodsGenerator@2022年5月20日.2101
#addin nuget:?package=AOPMethodsGenerator&version=2022年5月20日.2101Install as a Cake Addin
#tool nuget:?package=AOPMethodsGenerator&version=2022年5月20日.2101Install as a Cake Tool
** 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 | 48,314 | 5/21/2022 |
| 2021年6月11日.907 | 72,606 | 6/11/2021 |
| 2021年6月10日.2012 | 1,304 | 6/10/2021 |
| 2021年5月28日.1450 | 2,745 | 5/28/2021 |
| 2021年5月26日.1330 | 2,683 | 5/26/2021 |
| 2021年5月26日.1219 | 1,291 | 5/26/2021 |
| 2021年5月17日.2230 | 2,408 | 5/17/2021 |
| 2021年5月16日.2240 | 1,307 | 5/16/2021 |
| 2021年2月27日.640 | 1,468 | 2/27/2021 |
| 2021年2月22日.1941 | 1,625 | 2/22/2021 |
| 2021年2月22日.1125 | 1,497 | 2/22/2021 |
| 2021年1月23日.1000 | 1,500 | 1/23/2021 |
| 2021年1月13日.1000 | 1,441 | 1/13/2021 |
| 2021年1月10日.1800 | 1,419 | 1/10/2021 |
| 2021年1月9日.2000 | 1,327 | 1/9/2021 |