# MeritAttribute class

Namespace: [Grasshopper2.Types.Conversion](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.types.conversion.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class MeritAttribute : Attribute
```

Attach this attribute to all public static methods in a [ConversionRepository](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.conversionrepository.md) class that ought to act as automatic type conversions.

## Constructors

- [MeritAttribute](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.meritattribute/ctor.md)

## Fields

- [Merit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.conversion.meritattribute/merit.md)
