Class Recursion<T>
  
  
  
  
      
  Namespace: Ludiq
  
  Syntax
  
    public class Recursion<T> : IPoolable, IDisposable
   
  Type Parameters
  
  Constructors
  
  
  
  
  Recursion()
  
  
  Declaration
  
  Fields
  
  
  
  maxDepth
  
  
  Declaration
  
  Field Value
  
  Methods
  
  
  
  
  Dispose()
  
  
  Declaration
  
  
  
  
  Enter(T)
  
  
  Declaration
  
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T | 
        o | 
         | 
      
    
  
  
  
  
  Exit(T)
  
  
  Declaration
  
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T | 
        o | 
         | 
      
    
  
  
  
  
  Free()
  
  
  Declaration
  
    protected virtual void Free()
   
  
  
  
  New(Boolean)
  
  
  Declaration
  
    public static Recursion<T> New(bool force = false)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Boolean | 
        force | 
         | 
      
    
  
  Returns
  
  
  
  
  New(Int32, Boolean)
  
  
  Declaration
  
    public static Recursion<T> New(int maxDepth, bool force = false)
   
  Parameters
  
  Returns
  
  
  
  
  Reset()
  
  
  Declaration
  
  
  
  
  TryEnter(T)
  
  
  Declaration
  
    public bool TryEnter(T o)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | T | 
        o | 
         | 
      
    
  
  Returns
  
  Explicit Interface Implementations
  
  
  
  
  IPoolable.Free()
  
  
  Declaration
  
  Implements
      
  
  
  
  IPoolable.New()
  
  
  Declaration
  
  Implements
      
  Extension Methods