BitSharper.Threading.Runnable.Runnable C# (CSharp) Method

Runnable() public method

Construct a new instance of Runnable which calls action delegate with its Run method is invoked.
public Runnable ( System.Action action ) : System
action System.Action /// The delegate to be called when is invoked. ///
return System
        public Runnable(Action action)
        {
            if (action == null) throw new ArgumentNullException("action");
            _action = action;
        }