# GH_SolutionEventArgs class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_SolutionEventArgs : EventArgs
```

Event arguments used for Document Solution events.

## Properties

- [Document](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-solutioneventargs/document.md): Gets the document that raised the event, should be the same as the "sender" parameter in the event handler.
- [Duration](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-solutioneventargs/duration.md): Gets the duration for this solution. The duration is a more accurate measure than EndTime-StartTime.
- [EndTime](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-solutioneventargs/endtime.md): (obsolete) Gets the time when the current solution completed. If the solution hasn't completed yet this field will be DateTime.MinValue.
- [StartTime](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-solutioneventargs/starttime.md): Gets the time when the current solution began.
