本文整理汇总了C#中ICollection.GetFromRequest方法的典型用法代码示例。如果您正苦于以下问题:C# ICollection.GetFromRequest方法的具体用法?C# ICollection.GetFromRequest怎么用?C# ICollection.GetFromRequest使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICollection
的用法示例。
在下文中一共展示了ICollection.GetFromRequest方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: when_configuring_ivid_title_holder_request_message
public when_configuring_ivid_title_holder_request_message()
{
_request = new LicensePlateRequestBuilder().ForIvidTitleHolder();
_response = new LaceResponseBuilder().WithIvidResponseHandled();
_dataProvider =
_request.GetFromRequest<IPointToLaceRequest>().Package.DataProviders.Single(w => w.Name == DataProviderName.IVIDTitle_E_WS);
}
开发者ID:rjonker1,项目名称:lightstone-data-platform,代码行数:7,代码来源:when_configuring_ivid_title_holder_request_message.cs
示例2: when_requesting_data_from_lightstone_source
public when_requesting_data_from_lightstone_source()
{
_command = MonitoringBusBuilder.ForLightstoneCommands(Guid.NewGuid());
_requestDataFromSource = new RequestDataFromLightstoneAuto();
_request = new LicensePlateRequestBuilder().ForLightstoneVinNumber();
_response = new Collection<IPointToLaceProvider>();
_dataProvider = _request.GetFromRequest<IPointToLaceRequest>()
.Package.DataProviders.Single(w => w.Name == DataProviderName.LSAutoCarStats_I_DB);
_logCommand = LogCommandTypes.ForDataProvider(_command, DataProviderCommandSource.LSAutoCarStats_I_DB, _dataProvider, DataProviderNoRecordState.NonBillable);
_callTheSource = new CallLightstoneAutoDataProvider(_dataProvider, new FakeDataProviderRepository(), _logCommand);
}
开发者ID:rjonker1,项目名称:lightstone-data-platform,代码行数:13,代码来源:when_requesting_data_from_lightstone.source.cs