Пример #1
0
 public ATPFnDetail(EntitySubmission data)
 {
     EntityId        = data.Id;
     EntityHash      = data.EntityHash;
     WorkloadContext = data.WorkloadContext;
     Severity        = data.Severity;
     DetectionName   = data.DetectionName;
 }
Пример #2
0
        public EntitySubmission ToData()
        {
            var data = new EntitySubmission()
            {
                Id              = EntityId,
                EntityHash      = EntityHash,
                WorkloadContext = WorkloadContext,
                Severity        = Severity,
                DetectionName   = DetectionName
            };

            return(data);
        }