Metalama//Conceptual documentation/Creating aspects/Creating simple aspects
Open sandboxFocus

Creating simple aspects

In Using Metalama, you learned how to use pre-built aspects in your project. In this section, you're about to start writing your first aspect. We will focus on simple tasks and features, and later sections in this chapter will dive into further details.

In this section

Article Description
Getting started: overriding a method This article shows how to override the implementation of a method with an aspect.
Getting started: overriding fields and properties This article shows how to override the implementation of a property or wrap a field with a property using an aspect.
Getting started: contracts This article explains how to validate the value of fields, properties, or parameters.