Commented Examples
This chapter presents several examples that demonstrate how to use Metalama. Each example is designed as a tutorial, progressively introducing features of growing complexity. You can use these examples to support your learning process.
Example | Description |
---|---|
Logging | Demonstrates several logging aspects, adding complexity at every step. |
Caching | Caches the method return value as a function of its parameters. |
Exception Handling | Demonstrates several exception-handling strategies, including retry, Poly, and adding parameter values for richer reports. |
INotifyPropertyChanged | Automatically implements the INotifyPropertyChanged interface and instruments properties. |
Change Tracking | Automatically implements the IChangeTracking or IRevertibleChangeTracking interface and instruments fields and properties accordingly. |
Clone | Implements the deep clone pattern. |
If you have developed an original aspect with Metalama, consider contributing to this list.