当前位置: 首页>>代码示例>>C#>>正文


C# UnmarshallerContext.BooleanValue方法代码示例

本文整理汇总了C#中UnmarshallerContext.BooleanValue方法的典型用法代码示例。如果您正苦于以下问题:C# UnmarshallerContext.BooleanValue方法的具体用法?C# UnmarshallerContext.BooleanValue怎么用?C# UnmarshallerContext.BooleanValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在UnmarshallerContext的用法示例。


在下文中一共展示了UnmarshallerContext.BooleanValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Unmarshall

        public static QueryApplyStatusResponse Unmarshall(UnmarshallerContext context)
        {
            QueryApplyStatusResponse queryApplyStatusResponse = new QueryApplyStatusResponse();

            queryApplyStatusResponse.HttpResponse = context.HttpResponse;
            queryApplyStatusResponse.RequestId = context.StringValue("QueryApplyStatus.RequestId");
            queryApplyStatusResponse.Success = context.BooleanValue("QueryApplyStatus.Success");
            queryApplyStatusResponse.ErrorMessage = context.StringValue("QueryApplyStatus.ErrorMessage");
            queryApplyStatusResponse.Finish = context.BooleanValue("QueryApplyStatus.Finish");

            return queryApplyStatusResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:12,代码来源:QueryApplyStatusResponseUnmarshaller.cs

示例2: Unmarshall

        public static QueryPageByApplyIdResponse Unmarshall(UnmarshallerContext context)
        {
            QueryPageByApplyIdResponse queryPageByApplyIdResponse = new QueryPageByApplyIdResponse();

            queryPageByApplyIdResponse.HttpResponse = context.HttpResponse;
            queryPageByApplyIdResponse.RequestId = context.StringValue("QueryPageByApplyId.RequestId");
            queryPageByApplyIdResponse.Success = context.BooleanValue("QueryPageByApplyId.Success");
            queryPageByApplyIdResponse.ErrorMessage = context.StringValue("QueryPageByApplyId.ErrorMessage");
            queryPageByApplyIdResponse.PageSize = context.IntegerValue("QueryPageByApplyId.PageSize");
            queryPageByApplyIdResponse.Page = context.IntegerValue("QueryPageByApplyId.Page");
            queryPageByApplyIdResponse.PageCount = context.IntegerValue("QueryPageByApplyId.PageCount");
            queryPageByApplyIdResponse.Total = context.IntegerValue("QueryPageByApplyId.Total");

            List<QueryPageByApplyIdResponse.ApplyDeviceInfo> applyDeviceList = new List<QueryPageByApplyIdResponse.ApplyDeviceInfo>();
            for (int i = 0; i < context.Length("QueryPageByApplyId.ApplyDeviceList.Length"); i++) {
                QueryPageByApplyIdResponse.ApplyDeviceInfo applyDeviceInfo = new QueryPageByApplyIdResponse.ApplyDeviceInfo();
                applyDeviceInfo.DeviceId = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceId");
                applyDeviceInfo.DeviceName = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceName");
                applyDeviceInfo.DeviceSecret = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceSecret");

                applyDeviceList.Add(applyDeviceInfo);
            }
            queryPageByApplyIdResponse.ApplyDeviceList = applyDeviceList;

            return queryPageByApplyIdResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:26,代码来源:QueryPageByApplyIdResponseUnmarshaller.cs

示例3: Unmarshall

        public static DescribeDomainRecordsResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainRecordsResponse describeDomainRecordsResponse = new DescribeDomainRecordsResponse();

            describeDomainRecordsResponse.HttpResponse = context.HttpResponse;
            describeDomainRecordsResponse.RequestId = context.StringValue("DescribeDomainRecords.RequestId");
            describeDomainRecordsResponse.TotalCount = context.LongValue("DescribeDomainRecords.TotalCount");
            describeDomainRecordsResponse.PageNumber = context.LongValue("DescribeDomainRecords.PageNumber");
            describeDomainRecordsResponse.PageSize = context.LongValue("DescribeDomainRecords.PageSize");

            List<DescribeDomainRecordsResponse.Record> domainRecords = new List<DescribeDomainRecordsResponse.Record>();
            for (int i = 0; i < context.Length("DescribeDomainRecords.DomainRecords.Length"); i++) {
                DescribeDomainRecordsResponse.Record record = new DescribeDomainRecordsResponse.Record();
                record.DomainName = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].DomainName");
                record.RecordId = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].RecordId");
                record.RR = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].RR");
                record.Type = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].Type");
                record.Value = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].Value");
                record.TTL = context.LongValue("DescribeDomainRecords.DomainRecords["+ i +"].TTL");
                record.Priority = context.LongValue("DescribeDomainRecords.DomainRecords["+ i +"].Priority");
                record.Line = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].Line");
                record.Status = context.StringValue("DescribeDomainRecords.DomainRecords["+ i +"].Status");
                record.Locked = context.BooleanValue("DescribeDomainRecords.DomainRecords["+ i +"].Locked");
                record.Weight = context.IntegerValue("DescribeDomainRecords.DomainRecords["+ i +"].Weight");

                domainRecords.Add(record);
            }
            describeDomainRecordsResponse.DomainRecords = domainRecords;

            return describeDomainRecordsResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:31,代码来源:DescribeDomainRecordsResponseUnmarshaller.cs

示例4: Unmarshall

        public static ListDevicePermitsResponse Unmarshall(UnmarshallerContext context)
        {
            ListDevicePermitsResponse listDevicePermitsResponse = new ListDevicePermitsResponse();

            listDevicePermitsResponse.HttpResponse = context.HttpResponse;
            listDevicePermitsResponse.RequestId = context.StringValue("ListDevicePermits.RequestId");
            listDevicePermitsResponse.Success = context.BooleanValue("ListDevicePermits.Success");
            listDevicePermitsResponse.ErrorMessage = context.StringValue("ListDevicePermits.ErrorMessage");

            List<ListDevicePermitsResponse.DevicePermission> devicePermissions = new List<ListDevicePermitsResponse.DevicePermission>();
            for (int i = 0; i < context.Length("ListDevicePermits.DevicePermissions.Length"); i++) {
                ListDevicePermitsResponse.DevicePermission devicePermission = new ListDevicePermitsResponse.DevicePermission();
                devicePermission.Id = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].Id");
                devicePermission.AppKey = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].AppKey");
                devicePermission.DeviceId = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].DeviceId");
                devicePermission.GrantType = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].GrantType");
                devicePermission.TopicFullName = context.StringValue("ListDevicePermits.DevicePermissions["+ i +"].TopicFullName");
                devicePermission.TopicUserId = context.LongValue("ListDevicePermits.DevicePermissions["+ i +"].TopicUserId");

                devicePermissions.Add(devicePermission);
            }
            listDevicePermitsResponse.DevicePermissions = devicePermissions;

            return listDevicePermitsResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:25,代码来源:ListDevicePermitsResponseUnmarshaller.cs

示例5: Unmarshall

        public static CheckDeviceResponse Unmarshall(UnmarshallerContext context)
        {
            CheckDeviceResponse checkDeviceResponse = new CheckDeviceResponse();

            checkDeviceResponse.HttpResponse = context.HttpResponse;
            checkDeviceResponse.RequestId = context.StringValue("CheckDevice.RequestId");
            checkDeviceResponse.Available = context.BooleanValue("CheckDevice.Available");

            return checkDeviceResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:10,代码来源:CheckDeviceResponseUnmarshaller.cs

示例6: Unmarshall

        public static IsGreyUserResponse Unmarshall(UnmarshallerContext context)
        {
            IsGreyUserResponse isGreyUserResponse = new IsGreyUserResponse();

            isGreyUserResponse.HttpResponse = context.HttpResponse;
            isGreyUserResponse.RequestId = context.StringValue("IsGreyUser.RequestId");
            isGreyUserResponse.IsGreyUser = context.BooleanValue("IsGreyUser.IsGreyUser");

            return isGreyUserResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:10,代码来源:IsGreyUserResponseUnmarshaller.cs

示例7: Unmarshall

        public static CheckDomainRecordResponse Unmarshall(UnmarshallerContext context)
        {
            CheckDomainRecordResponse checkDomainRecordResponse = new CheckDomainRecordResponse();

            checkDomainRecordResponse.HttpResponse = context.HttpResponse;
            checkDomainRecordResponse.RequestId = context.StringValue("CheckDomainRecord.RequestId");
            checkDomainRecordResponse.IsExist = context.BooleanValue("CheckDomainRecord.IsExist");

            return checkDomainRecordResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:10,代码来源:CheckDomainRecordResponseUnmarshaller.cs

示例8: Unmarshall

        public static QueryPushDetailResponse Unmarshall(UnmarshallerContext context)
        {
            QueryPushDetailResponse queryPushDetailResponse = new QueryPushDetailResponse();

            queryPushDetailResponse.HttpResponse = context.HttpResponse;
            queryPushDetailResponse.RequestId = context.StringValue("QueryPushDetail.RequestId");
            queryPushDetailResponse.AppKey = context.LongValue("QueryPushDetail.AppKey");
            queryPushDetailResponse.Target = context.StringValue("QueryPushDetail.Target");
            queryPushDetailResponse.TargetValue = context.StringValue("QueryPushDetail.TargetValue");
            queryPushDetailResponse.PushType = context.StringValue("QueryPushDetail.PushType");
            queryPushDetailResponse.DeviceType = context.StringValue("QueryPushDetail.DeviceType");
            queryPushDetailResponse.Title = context.StringValue("QueryPushDetail.Title");
            queryPushDetailResponse.Body = context.StringValue("QueryPushDetail.Body");
            queryPushDetailResponse.PushTime = context.StringValue("QueryPushDetail.PushTime");
            queryPushDetailResponse.ExpireTime = context.StringValue("QueryPushDetail.ExpireTime");
            queryPushDetailResponse.AntiHarassStartTime = context.IntegerValue("QueryPushDetail.AntiHarassStartTime");
            queryPushDetailResponse.AntiHarassDuration = context.IntegerValue("QueryPushDetail.AntiHarassDuration");
            queryPushDetailResponse.StoreOffline = context.BooleanValue("QueryPushDetail.StoreOffline");
            queryPushDetailResponse.BatchNumber = context.StringValue("QueryPushDetail.BatchNumber");
            queryPushDetailResponse.ProvinceId = context.StringValue("QueryPushDetail.ProvinceId");
            queryPushDetailResponse.IOSApnsEnv = context.StringValue("QueryPushDetail.IOSApnsEnv");
            queryPushDetailResponse.IOSRemind = context.BooleanValue("QueryPushDetail.IOSRemind");
            queryPushDetailResponse.IOSRemindBody = context.StringValue("QueryPushDetail.IOSRemindBody");
            queryPushDetailResponse.IOSBadge = context.IntegerValue("QueryPushDetail.IOSBadge");
            queryPushDetailResponse.IOSMusic = context.StringValue("QueryPushDetail.IOSMusic");
            queryPushDetailResponse.IOSSubtitle = context.StringValue("QueryPushDetail.IOSSubtitle");
            queryPushDetailResponse.IOSNotificationCategory = context.StringValue("QueryPushDetail.IOSNotificationCategory");
            queryPushDetailResponse.IOSMutableContent = context.BooleanValue("QueryPushDetail.IOSMutableContent");
            queryPushDetailResponse.IOSExtParameters = context.StringValue("QueryPushDetail.IOSExtParameters");
            queryPushDetailResponse.AndroidNotifyType = context.StringValue("QueryPushDetail.AndroidNotifyType");
            queryPushDetailResponse.AndroidOpenType = context.StringValue("QueryPushDetail.AndroidOpenType");
            queryPushDetailResponse.AndroidActivity = context.StringValue("QueryPushDetail.AndroidActivity");
            queryPushDetailResponse.AndroidMusic = context.StringValue("QueryPushDetail.AndroidMusic");
            queryPushDetailResponse.AndroidOpenUrl = context.StringValue("QueryPushDetail.AndroidOpenUrl");
            queryPushDetailResponse.AndroidXiaoMiActivity = context.StringValue("QueryPushDetail.AndroidXiaoMiActivity");
            queryPushDetailResponse.AndroidXiaoMiNotifyTitle = context.StringValue("QueryPushDetail.AndroidXiaoMiNotifyTitle");
            queryPushDetailResponse.AndroidXiaoMiNotifyBody = context.StringValue("QueryPushDetail.AndroidXiaoMiNotifyBody");
            queryPushDetailResponse.AndroidNotificationBarType = context.IntegerValue("QueryPushDetail.AndroidNotificationBarType");
            queryPushDetailResponse.AndroidNotificationBarPriority = context.IntegerValue("QueryPushDetail.AndroidNotificationBarPriority");
            queryPushDetailResponse.AndroidExtParameters = context.StringValue("QueryPushDetail.AndroidExtParameters");

            return queryPushDetailResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:43,代码来源:QueryPushDetailResponseUnmarshaller.cs

示例9: Unmarshall

        public static SubTopicFilterResponse Unmarshall(UnmarshallerContext context)
        {
            SubTopicFilterResponse subTopicFilterResponse = new SubTopicFilterResponse();

            subTopicFilterResponse.HttpResponse = context.HttpResponse;
            subTopicFilterResponse.RequestId = context.StringValue("SubTopicFilter.RequestId");
            subTopicFilterResponse.Success = context.BooleanValue("SubTopicFilter.Success");
            subTopicFilterResponse.ErrorMessage = context.StringValue("SubTopicFilter.ErrorMessage");

            return subTopicFilterResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:SubTopicFilterResponseUnmarshaller.cs

示例10: Unmarshall

        public static UpdateProductResponse Unmarshall(UnmarshallerContext context)
        {
            UpdateProductResponse updateProductResponse = new UpdateProductResponse();

            updateProductResponse.HttpResponse = context.HttpResponse;
            updateProductResponse.RequestId = context.StringValue("UpdateProduct.RequestId");
            updateProductResponse.Success = context.BooleanValue("UpdateProduct.Success");
            updateProductResponse.ErrorMessage = context.StringValue("UpdateProduct.ErrorMessage");

            return updateProductResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:UpdateProductResponseUnmarshaller.cs

示例11: Unmarshall

        public static DeviceGrantResponse Unmarshall(UnmarshallerContext context)
        {
            DeviceGrantResponse deviceGrantResponse = new DeviceGrantResponse();

            deviceGrantResponse.HttpResponse = context.HttpResponse;
            deviceGrantResponse.RequestId = context.StringValue("DeviceGrant.RequestId");
            deviceGrantResponse.Success = context.BooleanValue("DeviceGrant.Success");
            deviceGrantResponse.ErrorMessage = context.StringValue("DeviceGrant.ErrorMessage");

            return deviceGrantResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:DeviceGrantResponseUnmarshaller.cs

示例12: Unmarshall

        public static SetDNSSLBStatusResponse Unmarshall(UnmarshallerContext context)
        {
            SetDNSSLBStatusResponse setDNSSLBStatusResponse = new SetDNSSLBStatusResponse();

            setDNSSLBStatusResponse.HttpResponse = context.HttpResponse;
            setDNSSLBStatusResponse.RequestId = context.StringValue("SetDNSSLBStatus.RequestId");
            setDNSSLBStatusResponse.RecordCount = context.LongValue("SetDNSSLBStatus.RecordCount");
            setDNSSLBStatusResponse.Open = context.BooleanValue("SetDNSSLBStatus.Open");

            return setDNSSLBStatusResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:SetDNSSLBStatusResponseUnmarshaller.cs

示例13: Unmarshall

        public static UnSubResponse Unmarshall(UnmarshallerContext context)
        {
            UnSubResponse unSubResponse = new UnSubResponse();

            unSubResponse.HttpResponse = context.HttpResponse;
            unSubResponse.RequestId = context.StringValue("UnSub.RequestId");
            unSubResponse.Success = context.BooleanValue("UnSub.Success");
            unSubResponse.ErrorMessage = context.StringValue("UnSub.ErrorMessage");

            return unSubResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:UnSubResponseUnmarshaller.cs

示例14: Unmarshall

        public static PubResponse Unmarshall(UnmarshallerContext context)
        {
            PubResponse pubResponse = new PubResponse();

            pubResponse.HttpResponse = context.HttpResponse;
            pubResponse.RequestId = context.StringValue("Pub.RequestId");
            pubResponse.Success = context.BooleanValue("Pub.Success");
            pubResponse.ErrorMessage = context.StringValue("Pub.ErrorMessage");

            return pubResponse;
        }
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:PubResponseUnmarshaller.cs

示例15: Unmarshall

        public static ServerOnlineResponse Unmarshall(UnmarshallerContext context)
        {
            ServerOnlineResponse serverOnlineResponse = new ServerOnlineResponse();

            serverOnlineResponse.HttpResponse = context.HttpResponse;
            serverOnlineResponse.RequestId = context.StringValue("ServerOnline.RequestId");
            serverOnlineResponse.Success = context.BooleanValue("ServerOnline.Success");
            serverOnlineResponse.ErrorMessage = context.StringValue("ServerOnline.ErrorMessage");

            return serverOnlineResponse;
        }
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:11,代码来源:ServerOnlineResponseUnmarshaller.cs


注:本文中的UnmarshallerContext.BooleanValue方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。