{"id":28159677,"url":"https://github.com/yswenli/wenli.aop","last_synced_at":"2025-10-10T22:47:51.389Z","repository":{"id":90991276,"uuid":"96204504","full_name":"yswenli/Wenli.AOP","owner":"yswenli","description":"wenli.aop is  is an lightweight aop lib for C# wenli.aop是C #轻量级AOP库","archived":false,"fork":false,"pushed_at":"2017-07-07T05:00:35.000Z","size":163,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T13:31:25.122Z","etag":null,"topics":["aop","csharp","intercept","wenli"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yswenli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2017-07-04T10:07:53.000Z","updated_at":"2024-01-25T15:24:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"81d4ab13-5358-4071-b21f-bb822753cc53","html_url":"https://github.com/yswenli/Wenli.AOP","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yswenli/Wenli.AOP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yswenli%2FWenli.AOP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yswenli%2FWenli.AOP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yswenli%2FWenli.AOP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yswenli%2FWenli.AOP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yswenli","download_url":"https://codeload.github.com/yswenli/Wenli.AOP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yswenli%2FWenli.AOP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005459,"owners_count":26083902,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","intercept","wenli"],"created_at":"2025-05-15T10:11:21.615Z","updated_at":"2025-10-10T22:47:50.984Z","avatar_url":"https://github.com/yswenli.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wenli.AOP\n\nweni.aop内部封装了三种方法拦截机制：DynamicProxy、Intercepting、Simple;\n\n1.DynamicProxy使用的是dotnet emit 动态代理模式，直接对目标类的接口进行生成代理类，通过代理类的方法来实现拦截\n\n2.Intercepting使用的是dotnet中的远程消息、边界对象机制来实现拦截\n\n3.Simple使用的是dotnet中的RealProxy简单封装实现拦截\n\n其中DynamicProxy需要有目标类的接口，Intercepting和Simple需要目标类继承ContextBoundObject、MarshalByRefObject\n\n使用方式参照：\u003ca href=\"https://github.com/yswenli/Wenli.AOP/tree/master/Wenli.AOP.Console\" target=\"_blank\"\u003eWenli.AOP.Console\u003c/a\u003e\n\n\u003cimg src=\"https://github.com/yswenli/Wenli.AOP/blob/master/Wenli.AOP.Console/wenli.aop.png?raw=true\" alt=\"wenli.aop\" /\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyswenli%2Fwenli.aop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyswenli%2Fwenli.aop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyswenli%2Fwenli.aop/lists"}