YamlDotNet.Core.RecursionLevel.TryIncrement C# (CSharp) Метод

TryIncrement() публичный Метод

Increments the current recursion level, and returns whether current is still less than Maximum.
public TryIncrement ( ) : bool
Результат bool
        public bool TryIncrement()
        {
            if (current < Maximum)
            {
                ++current;
                return true;
            }
            return false;
        }