예제 #1
0
        private IEnumerable <BindablePlaybill> LoadPlaybills()
        {
            DateTime minStopTime = DateTime.Now.AddMinutes(5);

            if (_bindablePlaybill == null)
            {
                return(Playbill.LoadPlaybills(minStopTime).Select(i => new BindablePlaybill(i)).ToArray());
            }
            else
            {
                return(Playbill.LoadPlaybills(minStopTime, _bindablePlaybill.StartTime).Select(i => new BindablePlaybill(i)).ToArray());
            }
        }
예제 #2
0
        private IEnumerable <BindablePlaybill> LoadPlaybills()
        {
            DateTime minStopTime = DateTime.Now.AddMinutes(5);

            return(Playbill.LoadPlaybills(minStopTime).Select(i => new BindablePlaybill(i)).ToArray());
        }