GanttDuration Struct
A duration of a task of a Gantt chart, such as 3 days (Mermaid 3d).
public readonly struct GanttDuration : IEquatable<GanttDuration>- Implements
Constructors
| Name | Description |
|---|---|
| GanttDuration(double, GanttTimeUnit) | Initializes a new instance of the GanttDuration struct. |
GanttDuration(double, GanttTimeUnit)
GanttDuration.csInitializes a new instance of the GanttDuration struct.
public GanttDuration(double value, GanttTimeUnit unit)Parameters
valuedouble- The number of units, positive or zero.
unitGanttTimeUnit- The unit.
Properties
| Name | Description |
|---|---|
| Unit | Gets the unit. |
| Value | Gets the number of units. |
Unit
GanttDuration.csValue
GanttDuration.csMethods
| Name | Description |
|---|---|
| Equals(GanttDuration) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(GanttDuration)
public bool Equals(GanttDuration other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(GanttDuration, GanttDuration) | |
| operator !=(GanttDuration, GanttDuration) |
operator ==(GanttDuration, GanttDuration)
public static bool operator ==(GanttDuration left, GanttDuration right)No documentation is available.
operator !=(GanttDuration, GanttDuration)
public static bool operator !=(GanttDuration left, GanttDuration right)No documentation is available.