예제 #1
0
        public void PropertiesTest()
        {
            // preparation
            var model = new NotificationPullResult();

            // model property access
            Helper.ModelTestHelper.PropetiesTest(model);
        }
예제 #2
0
        private IActionResult GetMessages(DateTime lastClientUpdateTime)
        {
            var      result = new NotificationPullResult();
            DateTime lastNotificationTime;

            result.Messages             = Notification.GetNotificationMessages(lastClientUpdateTime, out lastNotificationTime).ToArray();
            result.LastNotificationTime = lastNotificationTime;
            return(new OkObjectResult(result));
        }
예제 #3
0
        private IActionResult GetMessages(NotificationPullParameter param)
        {
            var      result = new NotificationPullResult();
            DateTime lastNotificationTime;

            result.Messages             = Notification.GetNotificationMessages(param.LastNotificationTime, out lastNotificationTime).ToArray();
            result.LastNotificationTime = lastNotificationTime;
            return(new OkObjectResult(result));
        }
예제 #4
0
 public void CreateMethod()
 {
     // action
     var model = new NotificationPullResult();
 }