Dev2.DataList.Contract.Binary_Objects.Structs.SBinaryDataListEntry.ScrubInternalTo C# (CSharp) Method

ScrubInternalTo() private method

Scrubs the internal TO.
private ScrubInternalTo ( ) : void
return void
        private void ScrubInternalTo()
        {
            if(_internalReturnValue == null)
            {
                int cnt = 1;

                if(Columns != null)
                {
                    cnt = Columns.Count;
                }

                _internalReturnValue = new List<IBinaryDataListItem>(cnt);
            }

            foreach(IBinaryDataListItem t in _internalReturnValue)
            {
                t.ToClear();
            }
        }