# TypeAssistantExtensionMethods 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 TypeAssistantExtensionMethods
```

Extension methods for [ITypeAssistant](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.itypeassistant.md) implementations.

## Methods

- [DescribeLazyBoth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantextensionmethods/describelazyboth.md): (static) Combine the primary and secondary descriptors into a single [LazyStrings](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.lazystrings.md) instance. This method handles formatting for null pears correctly.
- [DescribeLazyPrimary](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantextensionmethods/describelazyprimary.md): (static) Wrap the primary descriptor into a single [LazyString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.lazystring.md) instance. This method handles formatting for null pears correctly.
- [DescribeLazySecondary](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantextensionmethods/describelazysecondary.md): (static) Wrap the secondary descriptor into a single [LazyString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.lazystring.md) instance. This method handles formatting for null pears correctly.
- [FormatLazy](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantextensionmethods/formatlazy.md): (static) Wrap the formatting into a single [LazyString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.lazystring.md) instance. This method handles formatting for null pears correctly.
- [ToStringWithFallback](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.assistant.typeassistantextensionmethods/tostringwithfallback.md): (static) Call either the Format, FormatPartial or DescribePrimary methods depending on which one is available.
