예제 #1
0
        internal static void CheckAndThrowError(OpenSlideImageSafeHandle osr)
        {
            string message = OpenSlideInterop.GetError(osr);

            if (message != null)
            {
                ThrowOpenSlideException(message);
            }
        }
예제 #2
0
 internal static bool TryCheckError(OpenSlideImageSafeHandle osr, out string message)
 {
     message = OpenSlideInterop.GetError(osr);
     return(message == null);
 }