Ejemplo n.º 1
0
        public void PreInitialize(IDicomWorklist value, IDataLoadEventListener listener)
        {
            if (value == null)
            {
                listener.OnNotify(this,
                                  new NotifyEventArgs(ProgressEventType.Warning, "Could not check IDicomProcessListProvider because it's was null (only valid at Design Time)"));
                return;
            }

            _fileWorklist = value as IDicomFileWorklist;

            if (_fileWorklist == null)
            {
                listener.OnNotify(this, new NotifyEventArgs(ProgressEventType.Warning, "Expected IDicomWorklist to be of Type IDicomProcessListProvider (but it was " + value.GetType().Name + ").  This component will be skipped"));
            }
        }
Ejemplo n.º 2
0
 public ExitCodeType RunDLE(LoadMetadata lmd, IDicomFileWorklist payload)
 {
     return(RunDLE(lmd, (object)payload));
 }