Example #1
0
        public static void ResetTripSheet()
        {
            // clear out existing cache if necessary
            if (_tripSheetService != null)
            {
                _tripSheetService.ResetCache();
            }

            // create and initalize service as needed
            var service = new TripSheetService();

            service.Init(AutoConfig.PlaceDataUri);

            // update shared static resource
            _tripSheetService = service;
        }