예제 #1
0
 // Token: 0x0600004C RID: 76 RVA: 0x00003314 File Offset: 0x00001514
 protected override IRecordProducer GetProducer(DLPClassificationOperator op, IRecordSetTypeDescriptor type, IEvaluationContext context)
 {
     if (op == null)
     {
         throw new ArgumentNullException("op");
     }
     try
     {
         ULS.SendTraceTag(4850019U, ULSCat.msoulscat_SEARCH_DataLossPrevention, 50, "DLPClassificationEvaluator.GetProducer :: Using Operator :: {0}", new object[]
         {
             op
         });
         if (!DLPClassificationEvaluator.initialized)
         {
             DLPClassificationEvaluator.InitializeClassificationEngine(op.ClassificationConfiguration);
         }
         return(new DLPClassificationEvaluator.DLPClassificationProducer(DLPClassificationEvaluator.classificationService, DLPClassificationEvaluator.ruleStore));
     }
     catch (ThreadAbortException)
     {
     }
     catch (OutOfMemoryException)
     {
         throw;
     }
     catch (Exception ex)
     {
         ULS.SendTraceTag(4850048U, ULSCat.msoulscat_SEARCH_DataLossPrevention, 10, "Exception in DLPClassificationEvaluator.GetProducer :: {0}", new object[]
         {
             ex
         });
     }
     return(null);
 }
 // Token: 0x060000A9 RID: 169 RVA: 0x000049A0 File Offset: 0x00002BA0
 protected override IRecordProducer GetProducer(DLPQuerySensitiveResultTranslationOperator op, IRecordSetTypeDescriptor type, IEvaluationContext context)
 {
     return(new DLPQuerySensitiveResultTranslationProducer());
 }
 // Token: 0x06000097 RID: 151 RVA: 0x000043BB File Offset: 0x000025BB
 protected override IRecordProducer GetProducer(DLPQuerySecurityOperator op, IRecordSetTypeDescriptor type, IEvaluationContext context)
 {
     return(new DLPQuerySecurityProducer(context));
 }