# TypeAssistantServer class

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

```cs
public static class TypeAssistantServer
```

Provides static methods for registering and retrieving type assistants.

## Fields

- [NullKey](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/nullkey.md): (static)

## Methods

- [Find<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/find.md): (static) Find the type assistent associated with a specific type.
- [FindByType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findbytype.md): (static) Find the type assistent associated with a specific type id.
- [FindByValue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findbyvalue.md): (static) Find the type assistent associated with a specific object.
- [FindConstructor](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findconstructor.md): (2 overloads, static) Find the type constructor matching the given name.
- [FindCurveAssistant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findcurveassistant.md): (2 overloads, static) Find the curve assistent associated with a specific object.
- [FindCurveAssistantByType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findcurveassistantbytype.md): (static) Find the curve assistant associated with a specific type.
- [FindOrMake](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findormake.md): (3 overloads, static) Find the type assistent associated with a specific object. If no direct assistant can be found, a reimplementation of a more derived type may be constructed.
- [FindSurfaceAssistant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findsurfaceassistant.md): (2 overloads, static) Find the surface assistent associated with a specific object.
- [FindSurfaceAssistantByType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/findsurfaceassistantbytype.md): (static) Find the surface assistant associated with a specific type.
- [Register](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/register.md): (3 overloads, static) Register a curve assistant.
- [Sort](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/sort.md): (static) Sort a twig containing potentially a variety of different data types and null values. Some effort is made to ensure this method doesn't have too much overhead when sorting twigs which contain only primitive data types such as doubles, integers or strings.
- [ToICurve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/toicurve.md): (static) Try and create an [ICurve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.icurve.md) from an object.
- [ToNumericString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/tonumericstring.md): (static) Try and convert a value into a [Prose.Text](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.text.md). If there is no assistant, the ToString() method will be invoked.
- [Transform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantserver/transform.md): (2 overloads, static) Try and transform a pear using the registered type assistant.
