API Reference
TestimoXDocumentation
Provides compact C# entry points for general TestimoX documentation authoring and saving.
Inheritance
- Object
- TestimoXDocumentation
Methods
public static DocumentationReport Create(Action<DocumentationAuthoringSession> configure) #DocumentationReportCreates a renderer-neutral documentation report from an authoring callback.
Parameters
- configure System.Action{TestimoX.Documentation.DocumentationAuthoringSession}
- Authoring callback.
Returns
A documentation report.
public static DocumentationReport Create(String title, Action<DocumentationAuthoringSession> configure) #DocumentationReportCreates a renderer-neutral documentation report with a title from an authoring callback.
Parameters
- title System.String
- Report title.
- configure System.Action{TestimoX.Documentation.DocumentationAuthoringSession}
- Authoring callback.
Returns
A documentation report.
public static TestimoXDocumentationSaveRequest CreateSaveRequest(DocumentationReport report, String snapshotId = null, String snapshotName = null) #TestimoXDocumentationSaveRequestCreates a reusable save request from a report and the output/storage intents carried by that report.
Parameters
- report TestimoX.Documentation.DocumentationReport
- Report to save.
- snapshotId System.String = null
- Optional replay snapshot identifier.
- snapshotName System.String = null
- Optional replay snapshot display name.
Returns
A save request ready for TestimoXDocumentationSavePipeline.
public static Task<TestimoXDocumentationSaveResult> SaveAsync(Action<DocumentationAuthoringSession> configure, String snapshotId = null, String snapshotName = null, CancellationToken cancellationToken = null) #Task<TestimoXDocumentationSaveResult>Saves a documentation report through the shared TestimoX documentation save pipeline.
Parameters
- report TestimoX.Documentation.DocumentationReport
- Report to save.
- snapshotId System.String = null
- Optional replay snapshot identifier.
- snapshotName System.String = null
- Optional replay snapshot display name.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Save result with artifact, storage, and localization evidence.
public static Task<TestimoXDocumentationSaveResult> SaveAsync(String title, Action<DocumentationAuthoringSession> configure, String snapshotId = null, String snapshotName = null, CancellationToken cancellationToken = null) #Task<TestimoXDocumentationSaveResult>Saves a documentation report through a supplied save pipeline.
Parameters
- report TestimoX.Documentation.DocumentationReport
- Report to save.
- pipeline TestimoX.Documentation.TestimoXDocumentationSavePipeline
- Save pipeline.
- snapshotId System.String = null
- Optional replay snapshot identifier.
- snapshotName System.String = null
- Optional replay snapshot display name.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Save result with artifact, storage, and localization evidence.
SaveAsync(System.Action{TestimoX.Documentation.DocumentationAuthoringSession} configure, System.String snapshotId, System.String snapshotName, System.Threading.CancellationToken cancellationToken) #Creates and saves a documentation report from an authoring callback.
Parameters
- configure System.Action{TestimoX.Documentation.DocumentationAuthoringSession}
- Authoring callback.
- snapshotId System.String
- Optional replay snapshot identifier.
- snapshotName System.String
- Optional replay snapshot display name.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
Save result with artifact, storage, and localization evidence.
SaveAsync(System.String title, System.Action{TestimoX.Documentation.DocumentationAuthoringSession} configure, System.String snapshotId, System.String snapshotName, System.Threading.CancellationToken cancellationToken) #Creates and saves a titled documentation report from an authoring callback.
Parameters
- title System.String
- Report title.
- configure System.Action{TestimoX.Documentation.DocumentationAuthoringSession}
- Authoring callback.
- snapshotId System.String
- Optional replay snapshot identifier.
- snapshotName System.String
- Optional replay snapshot display name.
- cancellationToken System.Threading.CancellationToken
- Cancellation token.
Returns
Save result with artifact, storage, and localization evidence.