Skip to content

Commit

Permalink
Added default value for new parameter. Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
iNinja committed Jun 18, 2024
1 parent 244c470 commit 6a962c6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ internal enum ValidationSource
/// Creates an instance of <see cref="IssuerValidationResult"/>
/// </summary>
/// <paramref name="issuer"/> is the issuer that was validated successfully.
public IssuerValidationResult(string issuer, ValidationSource source)
/// <paramref name="source"/> is the <see cref="ValidationSource"/> indicating how this issuer was validated.
public IssuerValidationResult(string issuer, ValidationSource source = ValidationSource.NotValidated)
: base(ValidationFailureType.ValidationSucceeded)
{
Issuer = issuer;
Expand All @@ -39,6 +40,7 @@ public IssuerValidationResult(string issuer, ValidationSource source)
/// <paramref name="issuer"/> is the issuer that was intended to be validated.
/// <paramref name="validationFailure"/> is the <see cref="ValidationFailureType"/> that occurred during validation.
/// <paramref name="exceptionDetail"/> is the <see cref="ExceptionDetail"/> that occurred during validation.
/// <paramref name="source"/> is the <see cref="ValidationSource"/> indicating how this issuer was validated.
public IssuerValidationResult(string issuer, ValidationFailureType validationFailure, ExceptionDetail exceptionDetail, ValidationSource source = ValidationSource.NotValidated)
: base(validationFailure, exceptionDetail)
{
Expand Down

0 comments on commit 6a962c6

Please sign in to comment.