public static GetSendStatisticsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetSendStatisticsResultUnmarshaller();
            }

            return(instance);
        }
예제 #2
0
        public GetSendStatisticsResponse Unmarshall(UnmarshallerContext context)
        {
            GetSendStatisticsResponse response = new GetSendStatisticsResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("GetSendStatisticsResult", 2))
                    {
                        response.GetSendStatisticsResult = GetSendStatisticsResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }