示例#1
0
 protected override void WriteResult <T>(IEnumerable <T> dataObjects)
 {
     TaskLogger.LogEnter();
     if (dataObjects is IEnumerable <DataClassificationPresentationObject> )
     {
         IEnumerable <DataClassificationPresentationObject> enumerable = ClassificationDefinitionUtils.FilterHigherVersionRules((IEnumerable <DataClassificationPresentationObject>)dataObjects);
         if (this.Identity != null)
         {
             enumerable = this.Identity.FilterResults(enumerable);
         }
         base.WriteResult <DataClassificationPresentationObject>(enumerable);
     }
     else
     {
         base.WriteResult <T>(dataObjects);
     }
     TaskLogger.LogExit();
 }