コード例 #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);
 }