GH_SolutionEventArgs

EventArgsReferences
Event arguments used for Document Solution events.

Properties

Document

#
Gets the document that raised the event, should be the same as the "sender" parameter in the event handler.
public GH_Document Document { get; }

Duration

#
Gets the duration for this solution. The duration is a more accurate measure than EndTime-StartTime.
public TimeSpan Duration { get; }

EndTime

#
Gets the time when the current solution completed. If the solution hasn't completed yet this field will be DateTime.MinValue.
[EditorBrowsable(EditorBrowsableState.Never)] public DateTime EndTime { get; }
obsoleteThis property is obsolete

StartTime

#
Gets the time when the current solution began.
public DateTime StartTime { get; }