VAGSuite.EDC16FileParser.CollectionContainsMapInSize C# (CSharp) Method

CollectionContainsMapInSize() private method

private CollectionContainsMapInSize ( SymbolCollection newSymbols, int ysize, int xsize ) : bool
newSymbols SymbolCollection
ysize int
xsize int
return bool
        private bool CollectionContainsMapInSize(SymbolCollection newSymbols, int ysize, int xsize)
        {
            foreach (SymbolHelper sh in newSymbols)
            {
                if (sh.Y_axis_length == ysize && sh.X_axis_length == xsize) return true;
            }
            return false;
        }