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
/// Registers an additional <see cref="IObjectGraphVisitor{Nothing}" /> to be used by the serializer
404
452
/// before emitting an object graph.
@@ -408,7 +456,7 @@ Action<IRegistrationLocationSelectionSyntax<IObjectGraphVisitor<Nothing>>> where
408
456
/// before actually emitting it. This allows a visitor to collect information about the graph that
409
457
/// can be used later by another visitor registered in the emission phase.
410
458
/// </remarks>
411
-
/// <param name="objectGraphVisitorFactory">A factory that creates the <see cref="IObjectGraphVisitor{Nothing}" /> based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
459
+
/// <param name="objectGraphVisitorFactory">A function that instantiates the type inspector based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
412
460
/// <param name="where">Configures the location where to insert the <see cref="IObjectGraphVisitor{Nothing}" /></param>
/// Registers an additional <see cref="IObjectGraphVisitor{Nothing}" /> to be used by the serializer
483
+
/// before emitting an object graph.
484
+
/// </summary>
485
+
/// <remarks>
486
+
/// Registering a visitor in the pre-processing phase enables to traverse the object graph once
487
+
/// before actually emitting it. This allows a visitor to collect information about the graph that
488
+
/// can be used later by another visitor registered in the emission phase.
489
+
/// </remarks>
490
+
/// <param name="objectGraphVisitorFactory">A function that instantiates the type inspector based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
491
+
/// <param name="where">Configures the location where to insert the <see cref="IObjectGraphVisitor{Nothing}" /></param>
returnWithPreProcessingPhaseObjectGraphVisitor(objectGraphVisitorFactory, w =>w.OnTop());
391
+
}
392
+
377
393
/// <summary>
378
394
/// Registers an additional <see cref="IObjectGraphVisitor{Nothing}" /> to be used by the serializer
379
395
/// before emitting an object graph.
@@ -414,7 +430,38 @@ Action<IRegistrationLocationSelectionSyntax<IObjectGraphVisitor<Nothing>>> where
414
430
/// before actually emitting it. This allows a visitor to collect information about the graph that
415
431
/// can be used later by another visitor registered in the emission phase.
416
432
/// </remarks>
417
-
/// <param name="objectGraphVisitorFactory">A factory that creates the <see cref="IObjectGraphVisitor{Nothing}" /> based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
433
+
/// <param name="objectGraphVisitorFactory">A function that instantiates the type inspector.</param>
434
+
/// <param name="where">Configures the location where to insert the <see cref="IObjectGraphVisitor{Nothing}" /></param>
/// Registers an additional <see cref="IObjectGraphVisitor{Nothing}" /> to be used by the serializer
457
+
/// before emitting an object graph.
458
+
/// </summary>
459
+
/// <remarks>
460
+
/// Registering a visitor in the pre-processing phase enables to traverse the object graph once
461
+
/// before actually emitting it. This allows a visitor to collect information about the graph that
462
+
/// can be used later by another visitor registered in the emission phase.
463
+
/// </remarks>
464
+
/// <param name="objectGraphVisitorFactory">A function that instantiates the type inspector based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
418
465
/// <param name="where">Configures the location where to insert the <see cref="IObjectGraphVisitor{Nothing}" /></param>
/// Registers an additional <see cref="IObjectGraphVisitor{Nothing}" /> to be used by the serializer
488
+
/// before emitting an object graph.
489
+
/// </summary>
490
+
/// <remarks>
491
+
/// Registering a visitor in the pre-processing phase enables to traverse the object graph once
492
+
/// before actually emitting it. This allows a visitor to collect information about the graph that
493
+
/// can be used later by another visitor registered in the emission phase.
494
+
/// </remarks>
495
+
/// <param name="objectGraphVisitorFactory">A function that instantiates the type inspector based on a previously registered <see cref="IObjectGraphVisitor{Nothing}" />.</param>
496
+
/// <param name="where">Configures the location where to insert the <see cref="IObjectGraphVisitor{Nothing}" /></param>
0 commit comments