/// <summary> /// Initializes a new instance of the <see cref="T:CSF.Screenplay.ReportFormatting.StrategyBasedObjectFormatter"/> class. /// </summary> /// <param name="registry">Registry.</param> public StrategyBasedObjectFormatter(IObjectFormatingStrategyRegistry registry) { if (registry == null) { throw new ArgumentNullException(nameof(registry)); } this.registry = registry; }
/// <summary> /// Initializes a new instance of the <see cref="T:CSF.Screenplay.Reporting.ReportingIntegrationBuilder"/> class. /// </summary> public ReportingIntegrationBuilder() { formatterRegistry = ObjectFormattingStrategyRegistry.CreateDefault(); reporterToUse = formatter => new ReportBuildingReportableEventHandler(formatter); }