Class JsonScreenplayReportReader
- Namespace
- CSF.Screenplay.Reporting
- Assembly
- CSF.Screenplay.dll
Implementation of IDeserializesReport that deserializes a Screenplay report from a JSON stream.
public class JsonScreenplayReportReader : IDeserializesReport
- Inheritance
-
JsonScreenplayReportReader
- Implements
- Inherited Members
Methods
DeserializeAsync(Stream)
Deserializes a Screenplay report from the provided stream asynchronously.
public Task<ScreenplayReport> DeserializeAsync(Stream stream)
Parameters
stream
StreamThe stream containing the serialized Screenplay report.
Returns
- Task<ScreenplayReport>
A task that represents the asynchronous operation. The task result contains the deserialized Screenplay report.