public BlogReferenceTest()
 {
     mReference = new TransitReference();
     mReference.Word = Guid.NewGuid().ToString();
     mReference.Result = Guid.NewGuid().ToString();
     mReference.Url = Guid.NewGuid().ToString();
 }
Beispiel #2
0
 /// <remarks/>
 public void CreateOrUpdateReferenceAsync(string ticket, TransitReference t_reference) {
     this.CreateOrUpdateReferenceAsync(ticket, t_reference, null);
 }
Beispiel #3
0
 /// <remarks/>
 public void CreateOrUpdateReferenceAsync(string ticket, TransitReference t_reference, object userState) {
     if ((this.CreateOrUpdateReferenceOperationCompleted == null)) {
         this.CreateOrUpdateReferenceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateReferenceOperationCompleted);
     }
     this.InvokeAsync("CreateOrUpdateReference", new object[] {
                 ticket,
                 t_reference}, this.CreateOrUpdateReferenceOperationCompleted, userState);
 }
Beispiel #4
0
 public int CreateOrUpdateReference(string ticket, TransitReference t_reference) {
     object[] results = this.Invoke("CreateOrUpdateReference", new object[] {
                 ticket,
                 t_reference});
     return ((int)(results[0]));
 }