Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed May 19, 2022
1 parent c4284b1 commit f328099
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ namespace Serilog.Exceptions.Destructurers;
/// </summary>
public class ExceptionDestructurer : IExceptionDestructurer
{
/// <summary>
/// Gets a collection of exceptions types from standard library that do not have any custom property,
/// so they can be destructured using generic exception destructurer.
/// </summary>
/// <inheritdoc cref="IExceptionDestructurer.TargetTypes"/>
#pragma warning disable CA1819 // Properties should not return arrays
public virtual Type[] TargetTypes
#pragma warning restore CA1819 // Properties should not return arrays
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Serilog.Exceptions.Destructurers;
public interface IExceptionDestructurer
{
/// <summary>
/// Gets a collection of types of exception that the destructurer can handle.
/// Gets a collection of exception types that the destructurer can handle.
/// </summary>
#pragma warning disable CA1819 // Properties should not return arrays
Type[] TargetTypes { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class ReflectionBasedDestructurer : IExceptionDestructurer
/// <summary>
/// Initializes a new instance of the <see cref="ReflectionBasedDestructurer"/> class.
/// </summary>
/// <param name="destructuringDepth">Maximum depth to which the destructurer will go when destructuring exception
/// object graph.</param>
/// <param name="destructuringDepth">Maximum depth to which the destructurer will go when destructuring an
/// exception object graph.</param>
public ReflectionBasedDestructurer(int destructuringDepth)
{
if (destructuringDepth <= 0)
Expand Down

0 comments on commit f328099

Please sign in to comment.