IrcShark.Extensions.Terminal.History.History C# (CSharp) Method

History() public method

Initializes a new instance of the History class.
Thrown if size is smaller than 1.
public History ( int size ) : System
size int The number of commands, this history instance can save.
return System
        public History(int size)
        {
            if (size < 1)
                throw new ArgumentException ("size");

            history = new string [size];
            head = tail = cursor = 0;
        }

Same methods

History::History ( int size, string savedHistory ) : System