Example #1
0
        private void SearchByDepth()
        {
            var glebokoscZwierciadla1 = _preferences.GlebokoscZwierciadla1;
            var glebokoscZwierciadla2 = _preferences.GlebokoscZwierciadla2;

            if (glebokoscZwierciadla1.HasValue || glebokoscZwierciadla2.HasValue)
            {
                List <int?> nrRbdhList = _zwierciadloGlController
                                         .GetMirrorWithinRange(glebokoscZwierciadla1.Value, glebokoscZwierciadla2.Value).Result;
                _searchedSet = _searchedSet
                               .Where(item => nrRbdhList.Contains(item.NrRbdh));
            }
        }