Ejemplo n.º 1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         var disposable = _client as IDisposable;
         if (disposable != null)
         {
             (disposable).Dispose();
         }
         _client = null;
     }
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public ViewerAutomationBridge(IViewerAutomation viewerAutomationClient, IStudyLocator studyLocator)
			: this(viewerAutomationClient, new StudyLocatorBridge(studyLocator))
		{
		}
Ejemplo n.º 3
0
 public StudyLocatorBridge(IStudyLocator client)
 {
     Platform.CheckForNullReference(client, "client");
     _client        = client;
     _studyComparer = new StudyDateTimeComparer();
 }
Ejemplo n.º 4
0
		public StudyLocatorBridge(IStudyLocator client)
		{
			Platform.CheckForNullReference(client, "client");
			_client = client;
			_studyComparer = new StudyDateTimeComparer();
		}
Ejemplo n.º 5
0
		protected virtual void Dispose(bool disposing)
		{
			if (disposing)
			{
				var disposable = _client as IDisposable;
				if (disposable != null) (disposable).Dispose();
				_client = null;
			}
		}
Ejemplo n.º 6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public ViewerAutomationBridge(IViewerAutomation viewerAutomationClient, IStudyLocator studyLocator)
     : this(viewerAutomationClient, new StudyLocatorBridge(studyLocator))
 {
 }