コード例 #1
0
ファイル: Reference.cs プロジェクト: formist/LinkMe
        public Response PostAdvert([System.Xml.Serialization.XmlElementAttribute("PostAdvert", Namespace = "http://jobg8.com/messages")] PostAdvertRequest PostAdvert1)
        {
            object[] results = this.Invoke("PostAdvert", new object[] {
                PostAdvert1
            });

            return((Response)(results[0]));
        }
コード例 #2
0
ファイル: Reference.cs プロジェクト: formist/LinkMe
 /// <remarks/>
 public void PostAdvertAsync(PostAdvertRequest PostAdvert1, object userState)
 {
     if ((this.PostAdvertOperationCompleted == null))
     {
         this.PostAdvertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPostAdvertOperationCompleted);
     }
     this.InvokeAsync("PostAdvert", new object[] {
         PostAdvert1
     }, this.PostAdvertOperationCompleted, userState);
 }
コード例 #3
0
 protected static void AssertJobAds(PostAdvertRequest request, IList <JobAd> jobAds)
 {
     Assert.AreEqual(request.Adverts.PostAdvert.Length, jobAds.Count);
     foreach (var advert in request.Adverts.PostAdvert)
     {
         var jobReference = advert.JobReference;
         var jobAd        = (from j in jobAds where j.Integration.IntegratorReferenceId == jobReference select j).Single();
         Assert.AreEqual(advert.ClientReference, jobAd.Integration.ExternalReferenceId);
         Assert.AreEqual(advert.Position, jobAd.Title);
         Assert.AreEqual(advert.RedirectionUrl, jobAd.Integration.ExternalApplyUrl);
     }
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: formist/LinkMe
 /// <remarks/>
 public void PostAdvertAsync(PostAdvertRequest PostAdvert1)
 {
     this.PostAdvertAsync(PostAdvert1, null);
 }