# ComponentIterationInspector class

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

```cs
public sealed class ComponentIterationInspector
```

Use this class to keep a record of the iterations a components sets up during solutions.

## Constructors

- [ComponentIterationInspector](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.componentiterationinspector/ctor.md): Create a new inspector slaved to a component.

## Properties

- [Component](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.componentiterationinspector/component.md): Component which is being watched.
- [Iterations](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.componentiterationinspector/iterations.md): Gets a description of all recorded iterations.

## Methods

- [Start](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.componentiterationinspector/start.md): Start watching the component again.
- [Stop](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.componentiterationinspector/stop.md): Stop watching the component.
