예제 #1
0
        public override SandboxIdDocumentComparisonCheck Build()
        {
            Validation.NotNull(Recommendation, nameof(Recommendation));

            SandboxCheckReport report = new SandboxCheckReport(Recommendation, Breakdown);
            SandboxCheckResult result = new SandboxCheckResult(report);

            return(new SandboxIdDocumentComparisonCheck(result, _secondaryDocumentFilter));
        }
예제 #2
0
        public override SandboxDocumentTextDataCheck Build()
        {
            Validation.NotNull(Recommendation, nameof(Recommendation));

            SandboxCheckReport report = new SandboxCheckReport(Recommendation, Breakdown);
            SandboxDocumentTextDataCheckResult result = new SandboxDocumentTextDataCheckResult(report, _documentFields);

            return(new SandboxDocumentTextDataCheck(result, DocumentFilter));
        }
 public SandboxDocumentTextDataCheckResult(SandboxCheckReport report, Dictionary <string, object> documentFields)
     : base(report)
 {
     DocumentFields = documentFields;
 }
 public SandboxDocumentTextDataCheckResult(SandboxCheckReport report)
     : base(report)
 {
 }
 public SandboxCheckResult(SandboxCheckReport report)
 {
     Report = report;
 }