/// <summary> /// Constructs a new <see cref="StudyLoaderArgs"/> using the specified parameters. /// </summary> /// <param name="studyInstanceUid">The Study Instance UID of the study to be loaded.</param> /// <param name="server">The server from which the study should be loaded.</param> /// <param name="options"> </param> public StudyLoaderArgs(string studyInstanceUid, IApplicationEntity server, StudyLoaderOptions options) { _studyInstanceUid = studyInstanceUid; _server = server; Options = options ?? StudyLoaderOptions.Default; }
/// <summary> /// Constructor. /// </summary> /// <param name="studyInstanceUid"></param> /// <param name="server"></param> /// <param name="studyLoaderOptions"> </param> public LoadStudyArgs(string studyInstanceUid, IDicomServiceNode server, StudyLoaderOptions studyLoaderOptions) { Platform.CheckForNullReference(studyInstanceUid, "studyInstanceUids"); Platform.CheckForNullReference(server, "server"); StudyInstanceUid = studyInstanceUid; Server = server; StudyLoaderOptions = studyLoaderOptions ?? StudyLoaderOptions.Default; }
/// <summary> /// Constructs a new instance of <see cref="OpenStudyHelper"/>. /// </summary> public OpenStudyHelper() { LoadPriors = true; WindowBehaviour = WindowBehaviour.Auto; StudyLoaderOptions = new StudyLoaderOptions(); }