예제 #1
0
 /// <summary>
 /// </summary>
 /// <param name="disposing">
 /// <see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.
 /// </param>
 protected virtual void Dispose(Boolean disposing)
 {
     if (disposing)
     {
         if (_handlerListProvider != null)
         {
             _handlerListProvider.Dispose();
             _handlerListProvider = null;
         }
     }
 }
		/// <summary>
		/// </summary>
		/// <param name="disposing">
		/// <see langword="true"/> to release both managed and unmanaged resources; <see langword="false"/> to release only unmanaged resources.
		/// </param>
		protected virtual void Dispose(Boolean disposing)
		{
			if (disposing)
			{
				if (_handlerListProvider != null)
				{
					_handlerListProvider.Dispose();
					_handlerListProvider = null;
				}
			}
		}
예제 #3
0
        /// <summary>
        /// </summary>
        /// <param name="disposing">
        /// <see langword="true"/> to dispose both managed and unmanaged resources; <see langword="false"/> to dispose only unmanaged resources.
        /// </param>
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_eventHandlerListProvider != null)
                {
                    _eventHandlerListProvider.Dispose();
                    _eventHandlerListProvider = null;
                }

                if (_targetControl != null)
                {
                    this.ResetTargetControl(_targetControl);
                }
            }
        }
예제 #4
0
		/// <summary>
		/// </summary>
		/// <param name="disposing">
		/// <see langword="true"/> to dispose both managed and unmanaged resources; <see langword="false"/> to dispose only unmanaged resources.
		/// </param>
		protected virtual void Dispose(bool disposing)
		{
			if (disposing)
			{
				if (_eventHandlerListProvider != null)
				{
					_eventHandlerListProvider.Dispose();
					_eventHandlerListProvider = null;
				}

				if (_targetControl != null)
				{
					this.ResetTargetControl(_targetControl);
				}
			}
		}