AIMA.Core.Util.CancelableThread.currIsCanceled C# (CSharp) Méthode

currIsCanceled() public static méthode

public static currIsCanceled ( ) : bool
Résultat bool
        public static bool currIsCanceled()
        {
            if (Thread.currentThread() is CancelableThread)
                return ((CancelableThread)Thread.currentThread()).isCanceled;
            return false;
        }