CCT.NUI.WPFSamples.PinCode.CountHistory.Add C# (CSharp) Method

Add() public method

public Add ( int value ) : void
value int
return void
        public void Add(int value)
        {
            this.queue.Enqueue(value);
            if (this.queue.Count > this.Length)
            {
                this.queue.Dequeue();
            }
        }