# TypeTripletServer<T> class

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

```cs
public sealed class TypeTripletServer<T>
```

A dictionary of type-triplets.

**Type parameters:**

- `T`

## Properties

- [All](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/all.md): Enumerate over all triplets.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/count.md): Gets the total number of defined type triplet.

## Methods

- [Add](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/add.md): Register a new triplet + value.
- [AllA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/alla.md): Enumerate over all triplets which have a matching typeA or one of typeA's base classes or interfaces.
- [CountA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/counta.md): Gets the number of defined triplet whose 'A' type matches the given type.
- [CountB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/countb.md): Gets the number of defined pairs whose 'B' type matches the given type.
- [CountC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/countc.md): Gets the number of defined pairs whose 'C' type matches the given type.
- [Get](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/get.md): Try and get the value associated with the given triplet.
- [Has](https://developer.rhino3d.com/api/gh2/type/grasshopper2.types.typetripletserver-1/has.md): Tests whether a specific triplet has been defined and is available.
