Table of Contents

Class NoOpReporter

Namespace
CSF.Screenplay.Reporting
Assembly
CSF.Screenplay.dll

A no-op implementation of IReporter which does nothing.

public sealed class NoOpReporter : IReporter, IDisposable
Inheritance
NoOpReporter
Implements
Inherited Members

Methods

Dispose()

public void Dispose()

SubscribeTo(IHasPerformanceEvents)

Subscribes to the events emitted by the specified Screenplay event notifier.

public void SubscribeTo(IHasPerformanceEvents events)

Parameters

events IHasPerformanceEvents

A Screenplay event notifier

Remarks

As events are received, this reporter instance may accumulate information about the Screnplay that it is to report upon.

UnsubscribeFrom(IHasPerformanceEvents)

Unsubscribes from the specified Screenplay event notifier.

public void UnsubscribeFrom(IHasPerformanceEvents events)

Parameters

events IHasPerformanceEvents

A Screenplay event notifier

Remarks

Use this method only after the event notifier has emitted the ScreenplayEnded event. If this reporter unsubscribes from Screenplay events before the Screenplay has ended then the results are undefined. This could lead to a corrupt report file.