Class ThreadQueue
Inheritance
System.Object
    ThreadQueue
  Implements
System.IDisposable
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: PiXYZ.Utils
Assembly: cs.temp.dll.dll
Syntax
public sealed class ThreadQueue : IDisposable
  Constructors
ThreadQueue(String)
Declaration
public ThreadQueue(string _name = "ThreadQueue")
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | _name | 
Properties
Instance
Declaration
public static ThreadQueue Instance { get; }
  Property Value
| Type | Description | 
|---|---|
| ThreadQueue | 
isRunning
Declaration
public bool isRunning { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
stopped
Declaration
public bool stopped { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
addAction(Action)
Declaration
public void addAction(Action action)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Action | action | 
clear()
Declaration
public void clear()
  Dispose()
Declaration
public void Dispose()
  pause(Boolean)
Will pause the ThreadQueue. Any running action will be completed before pausing.
Declaration
public void pause(bool pause)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | pause | 
start()
Starts the ThreadQueue
Declaration
public void start()
  stop()
Stop
Declaration
public void stop()
  Implements
      System.IDisposable