Class TaskBaseline
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents Baseline of a Task.
[ClassInterface(ClassInterfaceType.AutoDual)]
public sealed class TaskBaseline : Baseline, IComparable<baseline>, IEquatable<baseline>, IComparable<taskbaseline>, IEquatable<taskbaseline>
Inheritance
object ← Baseline ← TaskBaseline
Implements
IComparable<baseline>, IEquatable<baseline>, IComparable<taskbaseline>, IEquatable<taskbaseline>
Inherited Members
Baseline.Equals(Baseline), Baseline.Equals(object), Baseline.GetHashCode(), Baseline.CompareTo(Baseline), Baseline.BaselineNumber, Baseline.Work, Baseline.Cost, Baseline.Bcws, Baseline.Bcwp, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
TaskBaseline(Task)
Initializes a new instance of the Aspose.Tasks.TaskBaseline class.
public TaskBaseline(Task task)
Parameters
task
Task
Baseline’s parent task.
Properties
Duration
Gets or sets the scheduled duration of the task when the baseline was saved.
public Duration Duration { get; set; }
Property Value
EstimatedDuration
Gets or sets a value indicating whether the baseline duration of the task was estimated.
public bool EstimatedDuration { get; set; }
Property Value
Finish
Gets or sets the scheduled finish date of the task when the baseline was saved.
public DateTime Finish { get; set; }
Property Value
FixedCost
Gets or sets a fixed cost of the task when the baseline was saved.
public double FixedCost { get; set; }
Property Value
Interim
Gets or sets a value indicating whether this is an Interim Baseline.
public bool Interim { get; set; }
Property Value
Start
Gets or sets the scheduled start date of the task when the baseline was saved.
public DateTime Start { get; set; }
Property Value
TimephasedData
Gets or sets a TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.
public TimephasedDataCollection TimephasedData { get; set; }
Property Value
Methods
CompareTo(TaskBaseline)
IComparable interface implementation. Compares this instance to the specified Baseline object.
public int CompareTo(TaskBaseline other)
Parameters
other
TaskBaseline
the specified Baseline object to compare this instance to.
Returns
returns -1 if this instance is less than the specified object, 1 if this instance is greater than the specified object; otherwise returns 0
Equals(TaskBaseline)
Returns a value indicating whether this instance is equal to the specified TaskBaseline object.
public bool Equals(TaskBaseline other)
Parameters
other
TaskBaseline
the specified AssignmentBaseline object to compare with this instance.
Returns
returns true if this instance is equal to the specified TaskBaseline object; otherwise, false.
Equals(object)
Returns a value indicating whether this instance is equal to a specified object.
public override bool Equals(object obj)
Parameters
obj
object
The object to compare with this instance.
Returns
True if the specified object is a TaskBaseline that has the same UID value as this instance; otherwise, false.
GetHashCode()
Returns a hash code value for the instance of the Aspose.Tasks.TaskBaseline class.
public override int GetHashCode()
Returns
returns a hash code value for this object. </taskbaseline></taskbaseline></baseline></baseline>