Released: Nov 6, 2023
Mises à jour de 2023.4
Fonctionnalités
- Open Source and Source-Available Commitments - To enhance transparency and simplify troubleshooting, the source code of all Metalama components is now available for review;
- Metalama.Compiler, the custom Roslyn fork, is now freely available as open-source software, distributed under its original MIT license.
- Metalama.Framework, the core component of Metalama, is now available under a proprietary source-available license.
- Metalama.Extensions and Metalama.Patterns have been open...
Released: Oct 17, 2023
Mises à jour de 2023.3
Fonctionnalités
- Added auxiliary template support which makes it possible for T# templates to call upon other T# templates. The advantages of utilizing auxiliary templates include:
- Code reuse across templates.
- The opportunity for abstraction and specialization through virtual and override templates.
- Roslyn Access - You can now tap into the Roslyn API for granular code model analysis via the Metalama.Framework.Sdk package. Previously, this package was available but not directly accessible from an...
Released: Aug 7, 2023
Mises à jour de 2023.2
Fonctionnalités
IAdviceFactory.ImplementInterface
: The members created by IAdviceFactory.ImplementInterface
are now exposed via the IImplementInterfaceAdviceResult
interface.
- An extension method,
IType.ToTypeOfExpression()
, has been added, returning an IExpression
representing the typeof
for the given type.
- The test framework is now compatible with xUnit 2.5.0.
- The
[Inheritable]
annotation can be added to type fabrics, which prompts the type fabric invocation not only for the target type but...
Released: Jun 23, 2023
Mises à jour de 2023.1
Fonctionnalités
- Added support for Microsoft Visual Studio 17.6, Roslyn 4.6 and Microsoft .NET SDK 7.0.300.
- The 'IAdviceFactory.ImplementInterface' now exposes the created members in 'IImplementInterfaceAdviceResult'.
- Added the new extension method 'IType.ToTypeOfExpression()', which returns an IExpression.
- Contracts now support IEnumerable.
- Added the ability to make an introduced field readonly.
- Improved error reporting for aspect members with more than one advice/template attribute.
- Enhanced...
Released: May 4, 2023
Mises à jour de 2023.0
Fonctionnalités
Metalama is a meta-programming framework for C#. It helps you improve your code quality and productivity. With Metalama, you can reduce boilerplate by generating it dynamically during compilation. Your source code remains crystal-clear. Verify code in real time against architecture, patterns, and conventions. No need to wait for code reviews. Provide coding assistance to your team with customized feedback and suggestions and automate your own implementation patterns and...