protected override void BeginProcessing() { _httpClient = new HttpClient(); var client = new Standard.RestServices.RemoteJson.LunarCalendarClient(_httpClient); cds = new CalendarDataService(client); }
public CalendarPageViewModel() { ItemList = new List <CalendarItemData>(); _calendarDataService = new CalendarDataService(); _calendarDataService.RequestService(); CurrentDate = DateTime.Today; }
public CalendarDataService_GetSolarLunarYearShould() { var client = new Standard.RestServices.LocalJson.LunarCalendarClient(Paths.Local.CalendarApi); _calendarDataService = new CalendarDataService(client); }
public LunarSolarCalendarAPIShould(string path = Paths.LunarSolarCalendar) : base(path) { var client = new Standard.RestServices.LocalJson.LunarCalendarClientDetailed(_resourcePath); _calendarDataService = new CalendarDataService(client); }