{"id":23170985,"url":"https://github.com/ignatandrei/aop_with_roslyn","last_synced_at":"2025-04-09T11:10:21.194Z","repository":{"id":45998952,"uuid":"101486230","full_name":"ignatandrei/AOP_With_Roslyn","owner":"ignatandrei","description":"Roslyn AOP","archived":false,"fork":false,"pushed_at":"2023-06-18T06:24:15.000Z","size":300,"stargazers_count":74,"open_issues_count":7,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T03:39:40.436Z","etag":null,"topics":["aop","csharp","roslyn"],"latest_commit_sha":null,"homepage":"http://msprogrammer.serviciipeweb.ro/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignatandrei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T13:06:13.000Z","updated_at":"2024-11-23T14:14:41.000Z","dependencies_parsed_at":"2025-01-08T19:10:36.573Z","dependency_job_id":"6d09ec9d-595f-4817-8f09-191b0a0b4b9f","html_url":"https://github.com/ignatandrei/AOP_With_Roslyn","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FAOP_With_Roslyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FAOP_With_Roslyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FAOP_With_Roslyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignatandrei%2FAOP_With_Roslyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignatandrei","download_url":"https://codeload.github.com/ignatandrei/AOP_With_Roslyn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027407,"owners_count":21035594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aop","csharp","roslyn"],"created_at":"2024-12-18T04:15:48.081Z","updated_at":"2025-04-09T11:10:21.171Z","avatar_url":"https://github.com/ignatandrei.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AOP_With_Roslyn\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ignatandrei/Interpreter/blob/master/LICENSE)  \n\n[![NuGet](https://img.shields.io/nuget/v/dotnet-aop.svg)](https://www.nuget.org/packages/dotnet-aop)\n\n[![Build Status](https://dev.azure.com/ignatandrei1970/AOPRoslyn/_apis/build/status/ignatandrei.AOP_With_Roslyn?branchName=master)](https://dev.azure.com/ignatandrei1970/AOPRoslyn/_build/latest?definitionId=1\u0026branchName=master)\n\n[![codecov](https://codecov.io/gh/ignatandrei/AOP_With_Roslyn/branch/master/graph/badge.svg)](https://codecov.io/gh/ignatandrei/AOP_With_Roslyn)\n\n\n \n \n \nInstall as global tool as\n\ndotnet tool install -g dotnet-aop\n\ngo to your solution folder\nrun\n\ndotnet aop\n\n\nFor customizing what you want to insert at every method at first line and last line, see https://github.com/ignatandrei/AOP_With_Roslyn/blob/master/AOPRoslyn/processme.txt\n\n\nYou can save the document in your solution root and execute with\n\n\ndotnet aop \u0026lt;your file name\u0026gt;\n\n\n\nThe following table is generated by gathering statistics from dotnet aop tests with dotnet aop integrated :\n\n\n\n| Class             | Method(Line)                                | NumberHit | TotalTime | AverageTime |\n|-------------------|---------------------------------------------|-----------|-----------|-------------|\n| TestLineDirective | TestException(55)                           | 1         | 2881      | 2881        |\n| TestArguments     | TestArgumentsFor(13)                        | 1         | 543       | 543         |\n| RewriteCodeFile   | Rewrite(44)                                 | 5         | 533       | 106         |\n| TestLineDirective | TestNoLineRefactoring(125)                  | 1         | 79        | 79          |\n| RewriteCode       | RewriteCodeMethod(45)                       | 13        | 566       | 43          |\n| TestSerialize     | TestSerializeRewriteCodeFolder(14)          | 1         | 26        | 26          |\n| TestComment       | TestUnComment(12)                           | 1         | 22        | 22          |\n| TestCommandLine   | TestMethodRewriterSimple(9)                 | 1         | 15        | 15          |\n| TestRewriteCode   | TestAOPFolder(78)                           | 1         | 11        | 11          |\n| RewriteCodeFolder | Rewrite(69)                                 | 1         | 9         | 9           |\n| MethodRewriter    | VisitMethodDeclaration(72)                  | 23        | 140       | 6           |\n| TestRegion        | TestOneRegion(11)                           | 1         | 5         | 5           |\n| TestAOPExtension  | TestExtensionIsModifierOnEnum(12)           | 1         | 5         | 5           |\n| TestInitializeAll | Init(14)                                    | 1         | 4         | 4           |\n| RewriteAction     | UnSerializeMe(52)                           | 3         | 14        | 4           |\n| RewriteAction     | SerializeMe(33)                             | 3         | 12        | 4           |\n| TestRewriteCode   | TestAOPFile(64)                             | 1         | 3         | 3           |\n| TestSerialize     | TestSerializeRewriteCodeFile(26)            | 1         | 1         | 1           |\n| TestRewriteCode   | TestModifierMethodNoCodeInFile(13)          | 1         | 1         | 1           |\n| TestLineDirective | TestLineSimple(18)                          | 1         | 0         | 0           |\n| TestLastLine      | TestMethodRewriterLastLine(9)               | 1         | 0         | 0           |\n| TestCommandLine   | TestMethodRewriterAddVariable(47)           | 1         | 0         | 0           |\n| Extensions        | IsOnEnum(78)                                | 40        | 0         | 0           |\n| TestSerialize     | TestSerializeRewriteCodeFolderFormatter(42) | 1         | 0         | 0           |\n| TestRewriteCode   | TestModifierMethod(25)                      | 1         | 0         | 0           |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Faop_with_roslyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignatandrei%2Faop_with_roslyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignatandrei%2Faop_with_roslyn/lists"}