# Conventions override

Radical is conventions based, [runtime conventions](/release-2/presentation/conventions/runtime-conventions.md) and [bootstrap conventions](/release-2/presentation/conventions/bootstrap-conventions.md). To facilitate conventions override, to replace or integrate a default behavior the concept of default conventions is supported.

Both [runtime conventions](/release-2/presentation/conventions/runtime-conventions.md) and [bootstrap conventions](/release-2/presentation/conventions/bootstrap-conventions.md) support the following syntax:

```csharp
conventions.IsViewModel = type => 
{
    if ( type.Namespace == "MyViewModelsNamespace" ) 
    {
        return true;
    }
    return conventions.DefaultIsViewModel( type );
};
```

For every convention there is a convention whose name is the same but prefixed with `Default*` so that it's not anymore required to keep track of the original convention we are overriding.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.radicalframework.com/release-2/presentation/conventions/conventions-override.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
