You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="markdown level1 summary"><p>Gets an ordered collection of actions which should be executed when the <aclass="xref" href="CSF.Screenplay.Screenplay.html">Screenplay</a> begins, before the first
<divclass="markdown level1 summary"><p>Gets an ordered collection of actions which should be executed when the <aclass="xref" href="CSF.Screenplay.Screenplay.html">Screenplay</a> finished, after the last
<divclass="markdown level1 summary"><p>An optional callback/action which exposes the various <aclass="xref" href="CSF.Screenplay.Performances.IHasPerformanceEvents.html">IHasPerformanceEvents</a> which may be subscribed-to in order to be notified
269
+
<divclass="markdown level1 summary"><p>A collection of optional callbacks/actions which expose the various <aclass="xref" href="CSF.Screenplay.Performances.IHasPerformanceEvents.html">IHasPerformanceEvents</a> which may be subscribed-to in order to be notified
The implementation of <aclass="xref" href="CSF.Screenplay.Performances.IHasPerformanceEvents.html">IHasPerformanceEvents</a> is an event publisher which emits notifications when key evens occur during the lifetime
294
294
of a <aclass="xref" href="CSF.Screenplay.Screenplay.html">Screenplay</a> and its performances: <aclass="xref" href="CSF.Screenplay.IPerformance.html">IPerformance</a>.
295
295
If you wish, you may subscribe to these events from your own logic in order to develop new functionality or extend Screenplay.
296
296
</p>
297
297
<p>
298
-
There is no need to add an explicit subscription to any events for the reporting infrastructure.
299
-
Screenplay will automatically subscribe to this object from the reporting mechanism, unless the value of <aclass="xref" href="CSF.Screenplay.ScreenplayOptions.html#CSF_Screenplay_ScreenplayOptions_ReportPath">ReportPath</a> means that
300
-
reporting is disabled.
298
+
There is no need to use this mechanism in order to use the Screenplay Reporting infrastructure.
299
+
Built-in logic will automatically subscribe to the event published from the reporting infrastructure.
300
+
Note that if <aclass="xref" href="CSF.Screenplay.ScreenplayOptions.html#CSF_Screenplay_ScreenplayOptions_ReportPath">ReportPath</a> is a null or whitepsace-only string, the reporting infrastructure will be disabled.
301
+
</p>
302
+
<p>
303
+
This collection of configuration callbacks may be used to subscribe to the event publisher from custom Screenplay extensions, in order
304
+
be notified at particular points in the Screenplay's lifecycle.
305
+
Each extension should add a single item to this list of callbacks. In this manner, multiple extensions may coexist without worrying about
Make use of <aclass="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1.add">Add(T)</a> to add new formatters to the end of this collection.
404
-
It comes pre-loaded with three generalised formatters by default, in the following order.
410
+
It comes pre-loaded with some general-use formatters by default, in the following order.
405
411
</p>
406
412
<ol><li><aclass="xref" href="CSF.Screenplay.Reporting.ToStringFormatter.html">ToStringFormatter</a> - a default/fallback implementation which may format any value at all</li><li><aclass="xref" href="CSF.Screenplay.Reporting.HumanizerFormatter.html">HumanizerFormatter</a> - a formatter for dates, times & time spans which uses the Humanizer library</li><li><aclass="xref" href="CSF.Screenplay.Reporting.NameFormatter.html">NameFormatter</a> - which formats values that implement <aclass="xref" href="CSF.Screenplay.IHasName.html">IHasName</a> by emitting their name</li><li><aclass="xref" href="CSF.Screenplay.Reporting.FormattableFormatter.html">FormattableFormatter</a> - which formats values that implement <aclass="xref" href="CSF.Screenplay.Reporting.IFormattableValue.html">IFormattableValue</a></li></ol>
0 commit comments