Execute() 공개 메소드

public Execute ( FeedbackRequest request, Action responseCallback, Action exceptionCallback ) : void
request FeedbackRequest
responseCallback Action
exceptionCallback Action
리턴 void
 public void Simple()
 {
     var feedbackService = new FeedbackService
                               {
                                   RequestBuilder = ServerRequestBuilder.Instance
                               };
     var request = new FeedbackRequest
                       {
                           Since = 10.Days().Ago()
                       };
     feedbackService.Execute(request, Callback, ExceptionHandler.Handle);
 }
        public void Integration()
        {
            var feedbackService = new FeedbackService
                                      {
                                          RequestBuilder = RequestBuilderHelper.Build()
                                      };

            var helper = new AsyncTestHelper<FeedbackResponse>();
            var request = new FeedbackRequest
                              {
                                  Since = 10.Days().Ago()
                              };
            feedbackService.Execute(request, helper.Callback, helper.HandleException);
            helper.Wait();
            var deviceFeedbacks = helper.Response.DeviceFeedbacks;
            Debug.WriteLine(deviceFeedbacks.Count);
            foreach (var deviceFeedback in deviceFeedbacks)
            {
				Debug.WriteLine(deviceFeedback.DeviceToken);
				Debug.WriteLine(deviceFeedback.MakedInactiveOn);   
            }
        }