public IStudyViewer[] ViewStudies(ViewStudiesArgs args) { return args.InstancePerStudy ? args.StudyInstanceUids.Select(uid => new StudyViewer(uid)).Cast<IStudyViewer>().ToArray() : new IStudyViewer[] { new StudyViewer(string.Join("; ", args.StudyInstanceUids)) }; }
public IStudyViewer[] ViewStudies(ViewStudiesArgs args) { return(args.InstancePerStudy ? args.StudyInstanceUids.Select(uid => new StudyViewer(uid)).Cast <IStudyViewer>().ToArray() : new IStudyViewer[] { new StudyViewer(string.Join("; ", args.StudyInstanceUids)) }); }