コード例 #1
0
 public void FixtureSetup()
 {
     var region = new CfRegion(null, null, null, null, null, null, null, null, null, null);
     Client = new SoapNumberClient(MockClient.User(), MockClient.Password());
     RegionQuery = new CfRegionQuery(100, 0, region);
     SearchAvailableKeywords = new CfSearchAvailableKeywords(string.Empty);
     SearchAvailableNumbers = new CfSearchAvailableNumbers(null, true, 100);
     QueryKeywords = new CfQuery();
     QueryNumbers = new CfQueryNumbers(100, 0, region, null);
 }
コード例 #2
0
 public CfNumberQueryResult SearchAvailableNumbers(CfSearchAvailableNumbers searchAvailableNumbers)
 {
     var numberQueryResult = NumberService.SearchAvailableNumbers(new SearchAvailableNumbers(searchAvailableNumbers));
     return NumberQueryResultMapper.FromNumberQueryResult(numberQueryResult);
 }
 public SearchAvailableNumbers(CfSearchAvailableNumbers source)
 {
     Region = RegionMapper.ToRegion(source.Region);
     TollFree = source.TollFree;
     Count = source.Count;
 }