Пример #1
0
        public IList <TResultTile> Where(Func <TResultTile, bool> predicate)
        {
            List <TResultTile> results = null;

            Retry.Do(() =>
            {
                results = _results.Where(predicate).ToList();
            }, catchAction: Initialise);

            return(results);
        }
Пример #2
0
        public TResultTile this[int index]
        {
            get
            {
                var result = default(TResultTile);
                try
                {
                    result = _results[index];
                }
                catch
                {
                    Retry.Do(() =>
                    {
                        Initialise();
                        result = _results[index];
                    });
                }

                return(result);
            }
        }
Пример #3
0
 public SearchListResultsComponent(BaseComponent parent)
     : base(parent)
 {
     Retry.Do(Initialise);
 }