コード例 #1
0
 public PDashServices(IApiTypes apiService)
 {
     _apiService = apiService;
     _util       = Util.GetInstance();
     _settings   = Settings.GetInstance();
     //_dbm = DbManager.GetInstance();
 }
コード例 #2
0
        public PDashServices(IApiTypes apiService)
        {
            _apiService = apiService;
            _util       = Util.GetInstance();
            Policy.Handle <Exception>()
            .WaitAndRetryAsync
            (
                5,
                retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt))
            );


            //_dbm = DbManager.GetInstance();
        }