상속: MagickException
예제 #1
0
        protected void RaiseWarning(MagickException exception)
        {
            if (_warningEvent == null)
            {
                return;
            }

            MagickWarningException warning = exception as MagickWarningException;

            if (warning != null)
            {
                _warningEvent.Invoke(this, new WarningEventArgs(warning));
            }
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WarningEventArgs"/> class.
 /// </summary>
 /// <param name="exception">The MagickWarningException that was thrown.</param>
 public WarningEventArgs(MagickWarningException exception)
 {
     Exception = exception;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the WarningEventArgs class.
 /// </summary>
 /// <param name="exception">The MagickWarningException that was thrown.</param>
 public WarningEventArgs(MagickWarningException exception)
 {
   Exception = exception;
 }