# HotReloadAttribute class

Namespace: [Eto](https://eto.picoe.ca/api/namespace/eto.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md) · Since v2.10

```cs
[AttributeUsage(AttributeTargets.Class)]
public class HotReloadAttribute : Attribute
```

Indicates that a class supports hot reload functionality

## Constructors

- [HotReloadAttribute](https://eto.picoe.ca/api/type/eto.hotreloadattribute/ctor.md): Initializes a new instance of the [HotReloadAttribute](https://eto.picoe.ca/api/type/eto.hotreloadattribute.md) class.

## Properties

- [MethodName](https://eto.picoe.ca/api/type/eto.hotreloadattribute/methodname.md): Name of the method to invoke when a hot reload occurs. Default is "InitializeComponent".
