Infuse, to put in a way, is a "Pre compiler" for C#. It plugs into your Visual Studio IDE to provide you with a rich set of tools that help you extend your programming language to new levels which help you automate most of your redundant code.
Infuse, to put in a way, is a "Pre compiler" for C#. It plugs into your Visual Studio IDE to provide you with a rich set of tools that help you extend your programming language to new levels which help you automate most of your redundant code.
Infuse injects code into the target functional code at compile time itself instead of a more dynamic and runtime approach. We consciously did this to provide better debugging capabilities. All this happens, transparent to the developer using Precs.
Infuse is built on a technology called Precs -- There are two essential parts to Precs
1) The Precs Engine & Code Model Tree - Think of this as to what XmlDocument is to Xml. The Precs Engine helps you build a Object Model with which you can search and edit your C# source code files. Powerful search expressions can be created using Precs Query Language which derives very heavily from Regular Expressions, developers familiar with RegEx will find themselves obtaining intimate familiarity with PQL with an almost nonexistent learning curve.
2) The Precs Pipeline - The Precs Pipeline is implemented as a Visual Studio add in that intercepts Build events, and executes the Precs modules available in the pipeline. Think of it as ASP.NET HTTP Module's that execute and have a chance to intercept and change the incoming web request on an IIS Server. Each Precs module gets a chance to intercept and manipulate code via the Precs Tree.