Class Baseline
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
Represents baseline values of a resource.
[ClassInterface(ClassInterfaceType.AutoDual)]
public class Baseline : IComparable<baseline>, IEquatable<baseline>
Inheritance
Derived
AssignmentBaseline, TaskBaseline
Implements
IComparable<baseline>, IEquatable<baseline>
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Baseline()
public Baseline()
Properties
BaselineNumber
Gets or sets the unique number of a baseline data record.
public BaselineType BaselineNumber { get; set; }
Property Value
Bcwp
Gets or sets the budgeted cost of a work performed by a resource for a project to-date.
public double Bcwp { get; set; }
Property Value
Bcws
Gets or sets the budget cost of a work scheduled for a resource.
public double Bcws { get; set; }
Property Value
Cost
Gets or sets the projected cost of a resource when the baseline is saved.
public decimal Cost { get; set; }
Property Value
Work
Gets or sets the work assigned to a resource when the baseline is saved.
public Duration Work { get; set; }
Property Value
Methods
CompareTo(Baseline)
IComparable interface implementation. Compares this instance to the specified Baseline object.
public int CompareTo(Baseline other)
Parameters
other
Baseline
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(Baseline)
Returns a value indicating whether this instance is equal to a specified object.
public bool Equals(Baseline other)
Parameters
other
Baseline
the specified object to compare with this instance.
Returns
returns true if this instance is equal to the specified 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 specified object to compare with this instance.
Returns
returns true if this instance is equal to the specified object; otherwise, false.
GetHashCode()
Returns a hash code value for the baseline.
public override int GetHashCode()
Returns
returns a hash code value for this object.
Operators
operator ==(Baseline, Baseline)
Returns a value indicating whether this instance is equal to a specified object.
public static bool operator ==(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is equal to a specified object
operator >(Baseline, Baseline)
Returns a value indicating whether this instance is greater than a specified object.
public static bool operator >(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is greater than a specified object
operator >=(Baseline, Baseline)
Returns a value indicating whether this instance is greater than or equal to a specified object.
public static bool operator >=(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is greater than or equal to a specified object
operator !=(Baseline, Baseline)
Returns a value indicating whether this instance is not equal to a specified object.
public static bool operator !=(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is not equal to a specified object
operator <(Baseline, Baseline)
Returns a value indicating whether this instance is less than a specified object.
public static bool operator <(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is less than a specified object
operator <=(Baseline, Baseline)
Returns a value indicating whether this instance is less than or equal to a specified object.
public static bool operator <=(Baseline a, Baseline b)
Parameters
a
Baseline
The first baseline.
b
Baseline
The second baseline.
Returns
a value indicating whether this instance is less than or equal to a specified object </baseline></baseline>