protected override DeleteStudyContext CreatePluginProcessingContext()
 {
     DeleteStudyContext context = base.CreatePluginProcessingContext();
     context.UserId = _userId;
     context.UserName = _userName;
     return context;
 }
Example #2
0
        public void Initialize(DeleteStudyContext context)
        {
            Platform.CheckForNullReference(context, "context");
            _context = context;


            _enabled = context.ServerPartition.AuditDeleteStudy;
        }
Example #3
0
 protected virtual DeleteStudyContext CreatePluginProcessingContext()
 {
     DeleteStudyContext context = new DeleteStudyContext();
     context.WorkQueueItem = WorkQueueItem;
     context.ServerPartition = ServerPartition;
     context.Study = Study;
     context.StorageLocation = StorageLocation;
     context.Filesystem = FilesystemMonitor.Instance.GetFilesystemInfo(StorageLocation.FilesystemKey);
     return context;
 }