GH_SolutionEventArgs

EventArgsReferences
Event arguments used for Document Solution events.

Properties

Document

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

Duration

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

EndTime

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

StartTime

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