C# Class YamlDotNet.Core.RecursionLevel

Keeps track of the current recursion level, and throws MaximumRecursionLevelReachedException whenever Maximum is reached.
Afficher le fichier Open project: aaubry/YamlDotNet Class Usage Examples

Méthodes publiques

Méthode Description
Decrement ( ) : void

Decrements the current recursion level.

Increment ( ) : void

Increments the current recursion level, and throws MaximumRecursionLevelReachedException if Maximum is reached.

RecursionLevel ( int maximum ) : System
TryIncrement ( ) : bool

Increments the current recursion level, and returns whether current is still less than Maximum.

Method Details

Decrement() public méthode

Decrements the current recursion level.
public Decrement ( ) : void
Résultat void

Increment() public méthode

Increments the current recursion level, and throws MaximumRecursionLevelReachedException if Maximum is reached.
public Increment ( ) : void
Résultat void

RecursionLevel() public méthode

public RecursionLevel ( int maximum ) : System
maximum int
Résultat System

TryIncrement() public méthode

Increments the current recursion level, and returns whether current is still less than Maximum.
public TryIncrement ( ) : bool
Résultat bool