Unosquare.Labs.LibFprint.FingerprintGallery.RebuildPointerArray C# (CSharp) Method

RebuildPointerArray() private method

Rebuilds the pointer array. This method needs to be called whenever the Internal List gets modified in any way.
private RebuildPointerArray ( ) : void
return void
        private void RebuildPointerArray()
        {
            this.PointerArray = new IntPtr[InternalList.Count+1];
            for (var i = 0; i < InternalList.Count; i++)
                this.PointerArray[i] = InternalList[i].Reference;
            this.PointerArray[InternalList.Count] = IntPtr.Zero;
        }