本文整理汇总了C#中UnmarshallerContext.FloatValue方法的典型用法代码示例。如果您正苦于以下问题:C# UnmarshallerContext.FloatValue方法的具体用法?C# UnmarshallerContext.FloatValue怎么用?C# UnmarshallerContext.FloatValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UnmarshallerContext
的用法示例。
在下文中一共展示了UnmarshallerContext.FloatValue方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Unmarshall
public static DescribeHistoryCharge95InfoResponse Unmarshall(UnmarshallerContext context)
{
DescribeHistoryCharge95InfoResponse describeHistoryCharge95InfoResponse = new DescribeHistoryCharge95InfoResponse();
describeHistoryCharge95InfoResponse.HttpResponse = context.HttpResponse;
describeHistoryCharge95InfoResponse.RequestId = context.StringValue("DescribeHistoryCharge95Info.RequestId");
describeHistoryCharge95InfoResponse.PageNumber = context.LongValue("DescribeHistoryCharge95Info.PageNumber");
describeHistoryCharge95InfoResponse.PageSize = context.LongValue("DescribeHistoryCharge95Info.PageSize");
describeHistoryCharge95InfoResponse.TotalCount = context.LongValue("DescribeHistoryCharge95Info.TotalCount");
describeHistoryCharge95InfoResponse.TotalPages = context.LongValue("DescribeHistoryCharge95Info.TotalPages");
describeHistoryCharge95InfoResponse.UserName = context.StringValue("DescribeHistoryCharge95Info.UserName");
List<DescribeHistoryCharge95InfoResponse.HistoryCharge95Info> historyCharge95Infos = new List<DescribeHistoryCharge95InfoResponse.HistoryCharge95Info>();
for (int i = 0; i < context.Length("DescribeHistoryCharge95Info.HistoryCharge95Infos.Length"); i++) {
DescribeHistoryCharge95InfoResponse.HistoryCharge95Info historyCharge95Info = new DescribeHistoryCharge95InfoResponse.HistoryCharge95Info();
historyCharge95Info.DomainName = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].DomainName");
historyCharge95Info.BillTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].BillTime");
historyCharge95Info.ChargeItem = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].ChargeItem");
historyCharge95Info.Max95Bps = context.LongValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Max95Bps");
historyCharge95Info.Max95BpsTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Max95BpsTime");
historyCharge95Info.EffectiveFactor = context.FloatValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].EffectiveFactor");
historyCharge95Info.StartTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].StartTime");
historyCharge95Info.EndTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].EndTime");
historyCharge95Info.Proportion = context.FloatValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Proportion");
historyCharge95Info.DownloadUrl = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].DownloadUrl");
historyCharge95Infos.Add(historyCharge95Info);
}
describeHistoryCharge95InfoResponse.HistoryCharge95Infos = historyCharge95Infos;
return describeHistoryCharge95InfoResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:32,代码来源:DescribeHistoryCharge95InfoResponseUnmarshaller.cs
示例2: Unmarshall
public static DescribeCurrentCharge95InfoResponse Unmarshall(UnmarshallerContext context)
{
DescribeCurrentCharge95InfoResponse describeCurrentCharge95InfoResponse = new DescribeCurrentCharge95InfoResponse();
describeCurrentCharge95InfoResponse.HttpResponse = context.HttpResponse;
describeCurrentCharge95InfoResponse.RequestId = context.StringValue("DescribeCurrentCharge95Info.RequestId");
DescribeCurrentCharge95InfoResponse.CurrentCharge95Info_ currentCharge95Info = new DescribeCurrentCharge95InfoResponse.CurrentCharge95Info_();
currentCharge95Info.Max95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.Max95Bps");
currentCharge95Info.DomesticMax95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.DomesticMax95Bps");
currentCharge95Info.OverseasMax95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.OverseasMax95Bps");
currentCharge95Info.EffectiveFactor = context.FloatValue("DescribeCurrentCharge95Info.CurrentCharge95Info.EffectiveFactor");
currentCharge95Info.Cost = context.FloatValue("DescribeCurrentCharge95Info.CurrentCharge95Info.Cost");
currentCharge95Info.UserName = context.StringValue("DescribeCurrentCharge95Info.CurrentCharge95Info.UserName");
describeCurrentCharge95InfoResponse.CurrentCharge95Info = currentCharge95Info;
return describeCurrentCharge95InfoResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:18,代码来源:DescribeCurrentCharge95InfoResponseUnmarshaller.cs
示例3: Unmarshall
public static ImagePornDetectionResponse Unmarshall(UnmarshallerContext context)
{
ImagePornDetectionResponse imagePornDetectionResponse = new ImagePornDetectionResponse();
imagePornDetectionResponse.HttpResponse = context.HttpResponse;
imagePornDetectionResponse.RequestId = context.StringValue("ImagePornDetection.RequestId");
imagePornDetectionResponse.Label = context.StringValue("ImagePornDetection.Label");
imagePornDetectionResponse.Rate = context.FloatValue("ImagePornDetection.Rate");
return imagePornDetectionResponse;
}
示例4: Unmarshall
public static DescribeLiveStreamsFrameRateAndBitRateDataResponse Unmarshall(UnmarshallerContext context)
{
DescribeLiveStreamsFrameRateAndBitRateDataResponse describeLiveStreamsFrameRateAndBitRateDataResponse = new DescribeLiveStreamsFrameRateAndBitRateDataResponse();
describeLiveStreamsFrameRateAndBitRateDataResponse.HttpResponse = context.HttpResponse;
describeLiveStreamsFrameRateAndBitRateDataResponse.RequestId = context.StringValue("DescribeLiveStreamsFrameRateAndBitRateData.RequestId");
List<DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo> frameRateAndBitRateInfos = new List<DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo>();
for (int i = 0; i < context.Length("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos.Length"); i++) {
DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo frameRateAndBitRateInfo = new DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo();
frameRateAndBitRateInfo.StreamUrl = context.StringValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].StreamUrl");
frameRateAndBitRateInfo.VideoFrameRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].VideoFrameRate");
frameRateAndBitRateInfo.AudioFrameRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].AudioFrameRate");
frameRateAndBitRateInfo.BitRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].BitRate");
frameRateAndBitRateInfos.Add(frameRateAndBitRateInfo);
}
describeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfos = frameRateAndBitRateInfos;
return describeLiveStreamsFrameRateAndBitRateDataResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:21,代码来源:DescribeLiveStreamsFrameRateAndBitRateDataResponseUnmarshaller.cs
示例5: Unmarshall
public static CreateLiveStreamRecordIndexFilesResponse Unmarshall(UnmarshallerContext context)
{
CreateLiveStreamRecordIndexFilesResponse createLiveStreamRecordIndexFilesResponse = new CreateLiveStreamRecordIndexFilesResponse();
createLiveStreamRecordIndexFilesResponse.HttpResponse = context.HttpResponse;
createLiveStreamRecordIndexFilesResponse.RequestId = context.StringValue("CreateLiveStreamRecordIndexFiles.RequestId");
CreateLiveStreamRecordIndexFilesResponse.RecordInfo_ recordInfo = new CreateLiveStreamRecordIndexFilesResponse.RecordInfo_();
recordInfo.RecordId = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.RecordId");
recordInfo.RecordUrl = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.RecordUrl");
recordInfo.Duration = context.FloatValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Duration");
recordInfo.Height = context.IntegerValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Height");
recordInfo.Width = context.IntegerValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Width");
recordInfo.CreateTime = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.CreateTime");
createLiveStreamRecordIndexFilesResponse.RecordInfo = recordInfo;
return createLiveStreamRecordIndexFilesResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:18,代码来源:CreateLiveStreamRecordIndexFilesResponseUnmarshaller.cs
示例6: Unmarshall
public static DescribeDomainDownstreamBpsOfEdgeResponse Unmarshall(UnmarshallerContext context)
{
DescribeDomainDownstreamBpsOfEdgeResponse describeDomainDownstreamBpsOfEdgeResponse = new DescribeDomainDownstreamBpsOfEdgeResponse();
describeDomainDownstreamBpsOfEdgeResponse.HttpResponse = context.HttpResponse;
describeDomainDownstreamBpsOfEdgeResponse.RequestId = context.StringValue("DescribeDomainDownstreamBpsOfEdge.RequestId");
List<DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel> bpsDatas = new List<DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel>();
for (int i = 0; i < context.Length("DescribeDomainDownstreamBpsOfEdge.BpsDatas.Length"); i++) {
DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel domainBpsModel = new DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel();
domainBpsModel.Time = context.StringValue("DescribeDomainDownstreamBpsOfEdge.BpsDatas["+ i +"].Time");
domainBpsModel.Bps = context.FloatValue("DescribeDomainDownstreamBpsOfEdge.BpsDatas["+ i +"].Bps");
bpsDatas.Add(domainBpsModel);
}
describeDomainDownstreamBpsOfEdgeResponse.BpsDatas = bpsDatas;
return describeDomainDownstreamBpsOfEdgeResponse;
}
开发者ID:aliyun,项目名称:aliyun-openapi-net-sdk,代码行数:19,代码来源:DescribeDomainDownstreamBpsOfEdgeResponseUnmarshaller.cs
示例7: Unmarshall
public static DescribeInstanceTypesResponse Unmarshall(UnmarshallerContext context)
{
DescribeInstanceTypesResponse describeInstanceTypesResponse = new DescribeInstanceTypesResponse();
describeInstanceTypesResponse.HttpResponse = context.HttpResponse;
describeInstanceTypesResponse.RequestId = context.StringValue("DescribeInstanceTypes.RequestId");
List<DescribeInstanceTypesResponse.InstanceType> instanceTypes = new List<DescribeInstanceTypesResponse.InstanceType>();
for (int i = 0; i < context.Length("DescribeInstanceTypes.InstanceTypes.Length"); i++) {
DescribeInstanceTypesResponse.InstanceType instanceType = new DescribeInstanceTypesResponse.InstanceType();
instanceType.InstanceTypeId = context.StringValue("DescribeInstanceTypes.InstanceTypes["+ i +"].InstanceTypeId");
instanceType.CpuCoreCount = context.IntegerValue("DescribeInstanceTypes.InstanceTypes["+ i +"].CpuCoreCount");
instanceType.MemorySize = context.FloatValue("DescribeInstanceTypes.InstanceTypes["+ i +"].MemorySize");
instanceType.InstanceTypeFamily = context.StringValue("DescribeInstanceTypes.InstanceTypes["+ i +"].InstanceTypeFamily");
instanceTypes.Add(instanceType);
}
describeInstanceTypesResponse.InstanceTypes = instanceTypes;
return describeInstanceTypesResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:21,代码来源:DescribeInstanceTypesResponseUnmarshaller.cs
示例8: Unmarshall
public static DescribeLiveStreamRecordContentResponse Unmarshall(UnmarshallerContext context)
{
DescribeLiveStreamRecordContentResponse describeLiveStreamRecordContentResponse = new DescribeLiveStreamRecordContentResponse();
describeLiveStreamRecordContentResponse.HttpResponse = context.HttpResponse;
describeLiveStreamRecordContentResponse.RequestId = context.StringValue("DescribeLiveStreamRecordContent.RequestId");
List<DescribeLiveStreamRecordContentResponse.RecordContentInfo> recordContentInfoList = new List<DescribeLiveStreamRecordContentResponse.RecordContentInfo>();
for (int i = 0; i < context.Length("DescribeLiveStreamRecordContent.RecordContentInfoList.Length"); i++) {
DescribeLiveStreamRecordContentResponse.RecordContentInfo recordContentInfo = new DescribeLiveStreamRecordContentResponse.RecordContentInfo();
recordContentInfo.OssEndpoint = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssEndpoint");
recordContentInfo.OssBucket = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssBucket");
recordContentInfo.OssObjectPrefix = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssObjectPrefix");
recordContentInfo.StartTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].StartTime");
recordContentInfo.EndTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].EndTime");
recordContentInfo.Duration = context.FloatValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].Duration");
recordContentInfoList.Add(recordContentInfo);
}
describeLiveStreamRecordContentResponse.RecordContentInfoList = recordContentInfoList;
return describeLiveStreamRecordContentResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:23,代码来源:DescribeLiveStreamRecordContentResponseUnmarshaller.cs
示例9: Unmarshall
public static DescribeLiveStreamRecordIndexFileResponse Unmarshall(UnmarshallerContext context)
{
DescribeLiveStreamRecordIndexFileResponse describeLiveStreamRecordIndexFileResponse = new DescribeLiveStreamRecordIndexFileResponse();
describeLiveStreamRecordIndexFileResponse.HttpResponse = context.HttpResponse;
describeLiveStreamRecordIndexFileResponse.RequestId = context.StringValue("DescribeLiveStreamRecordIndexFile.RequestId");
DescribeLiveStreamRecordIndexFileResponse.RecordIndexInfo_ recordIndexInfo = new DescribeLiveStreamRecordIndexFileResponse.RecordIndexInfo_();
recordIndexInfo.RecordId = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.RecordId");
recordIndexInfo.RecordUrl = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.RecordUrl");
recordIndexInfo.DomainName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.DomainName");
recordIndexInfo.AppName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.AppName");
recordIndexInfo.StreamName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.StreamName");
recordIndexInfo.OssObject = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.OssObject");
recordIndexInfo.StartTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.StartTime");
recordIndexInfo.EndTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.EndTime");
recordIndexInfo.Duration = context.FloatValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Duration");
recordIndexInfo.Height = context.IntegerValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Height");
recordIndexInfo.Width = context.IntegerValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Width");
recordIndexInfo.CreateTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.CreateTime");
describeLiveStreamRecordIndexFileResponse.RecordIndexInfo = recordIndexInfo;
return describeLiveStreamRecordIndexFileResponse;
}
开发者ID:RongieZeng,项目名称:aliyun-openapi-net-sdk,代码行数:24,代码来源:DescribeLiveStreamRecordIndexFileResponseUnmarshaller.cs