Afterthought: a post-compilation code injection framework(blogs.app.vc3.com)

submitted by kr4sterkr4ster(34) 1 year, 1 month ago

Afterthought allows developers to post-process .NET assemblies to add code that either cannot be added to the original source or is not convenient/efficient to do so. Examples include: Tweaking a compiled assembly for which you do not have the source code be must support/modify Adding instrumentation logic to an assembly for test purposes, which will not always be part of the release version So, what does Afterthought do? Quite simply, it allows you to: Create type amendments by subclassing Amendment<,> to describe what changes you want to make Add attributes to your types indicating which types to amend and what amendments to apply Amend properties by either adding new properties or modifying the logic of existing properties Amend methods by either adding new methods or modifying the logic of existing methods Amend constructors by either adding new constructors or modifying the logic of existing constructors Implement interfaces directly on a type leveraging existing properties/methods, adding new properties/methods, and allowing Afterthought to automatically implement everything else Configure your project to call Afterthought as a post-build step to apply the changes

add a comment |category: |Views: 461

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story