Class RiskAnalysisResult
Namespace: Aspose.Tasks.RiskAnalysis
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a result of risk analysis.
public class RiskAnalysisResult
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
GetRiskItems(RiskItemType)
Returns an instance of the Aspose.Tasks.RiskAnalysis.RiskItemStatisticsCollection for the specified risk type.
public RiskItemStatisticsCollection GetRiskItems(RiskItemType itemType)
Parameters
itemType
RiskItemType
the specified risk type; can be one of the values of the Aspose.Tasks.RiskAnalysis.RiskItemType enumeration.
Returns
an instance of the Aspose.Tasks.RiskAnalysis.RiskItemStatisticsCollection for the specified risk type.
SaveReport(Stream)
Saves the risk analysis report to the stream in PDF format.
public void SaveReport(Stream stream)
Parameters
stream
Stream
The stream to save risk analysis report to.
SaveReport(string)
Saves the risk analysis report to the specified file path in PDF format.
public void SaveReport(string fileName)
Parameters
fileName
string
The specified file name.