コード例 #1
0
 public new void ResponseHandler(AsyncMessage asyncMessage)
 {
     IAdaptingType[] bodys = asyncMessage.GetBody();
     foreach (IAdaptingType adaptingType in bodys)
     {
         object message = adaptingType.defaultAdapt();
         base.ResponseHandler(message);
     }
     return;
 }
コード例 #2
0
        public new void ResponseHandler(AsyncMessage asyncMessage)
        {
            IAdaptingType[] bodys = asyncMessage.GetBody();
            foreach (IAdaptingType adaptingType in bodys)
            {
                object message = adaptingType.defaultAdapt();
                base.ResponseHandler(message);
            }
            return;

#if !(FULL_BUILD)
            IAdaptingType body = (IAdaptingType)asyncMessage.body;
#else
            IAdaptingType body = (IAdaptingType)((object[])(asyncMessage.body.body))[0];
#endif
            object adaptedMessage = body.defaultAdapt();
            base.ResponseHandler(adaptedMessage);
        }