AForge.Imaging.Filters.BaseUsingCopyPartialFilter.CheckSourceFormat C# (CSharp) Метод

CheckSourceFormat() приватный Метод

private CheckSourceFormat ( PixelFormat pixelFormat ) : void
pixelFormat PixelFormat
Результат void
        private void CheckSourceFormat( PixelFormat pixelFormat )
        {
            if ( !FormatTranslations.ContainsKey( pixelFormat ) )
                throw new UnsupportedImageFormatException( "Source pixel format is not supported by the filter." );
        }
    }