Пример #1
0
 public SecurityCheckExecutionResult(ISecurityCheck securityCheck, SecurityCheckResult securityCheckInfo, Exception exception = null)
 {
     SecurityCheck       = securityCheck ?? throw new ArgumentNullException(nameof(securityCheck));
     SecurityCheckResult = securityCheckInfo ?? throw new ArgumentNullException(nameof(securityCheckInfo));
     Exception           = exception;
 }
 public void Add(ISecurityCheck securityCheck, SecurityCheckResult info)
 {
     Results.Add(new SecurityCheckExecutionResult(securityCheck, info));
 }