11 2022 档案
摘要:How it works 它如何工作 Terminology 概念术语 Defining Aspects 定义切面 Injecting Aspects 注入切面 Advice Effect 通知效果 Advice Effect Arguments 通知效果参数 Mixin Effect 混入效果
阅读全文
摘要:Mixins is a powerfull feature that enables developers to add new logic/properties to an object by automatically implementing interfaces. Aspect contai
阅读全文
摘要:Advice effect is a code execution that can be injected into a method and, by extension, into properties and events as they use methods under the hood.
阅读全文
摘要:In the AspectInjector, injection is done by applying the trigger attribute to a target. Trigger is created by defining .net attribute class and markin
阅读全文
摘要:One starts to define an Aspect by applying the [Aspect] attribute onto a given class. The class decorated with an aspect cannot be abstract, static, a
阅读全文
摘要:Advice method can accept various arguments that represent information about target and triggers and can be used in complex scenarios. Advice方法可以接受各种参数
阅读全文
摘要:We're trying to use the same terminology as other frameworks. So, if you are familiar with those, you're familiar with Aspect Injector. 我们试图使用与其他框架相同的
阅读全文
摘要:AspectInjector is a compile-time AOP framework which means that all required work is done at compile time. For example, before compilation your code l
阅读全文
摘要:If you are anything like me, you love writing code: solving complex problems, coming up with elegant solutions, and constructing whole new worlds by c
阅读全文
摘要:There is no sense in talking about the solution before we agree on the problem, and no sense talking about the implementation steps before we agree on
阅读全文
摘要:Introduction 绪论 Software engineering is hard. To be successful at it, we have to learn continuously, whether it’s trying new languages, exploring new
阅读全文
摘要:Preface 序言 I vividly remember the day I started my first real software engineering job. I was both ecstatic and terrified. After hacking software for
阅读全文

浙公网安备 33010602011771号