public BlogHighlightTest() { mHighlight = new TransitHighlight(); mHighlight.Title = Guid.NewGuid().ToString(); mHighlight.Description = Guid.NewGuid().ToString(); mHighlight.Url = Guid.NewGuid().ToString(); mImageTest = new BlogImageTest(); AddDependent(mImageTest); }
/// <remarks/> public void CreateOrUpdateHighlightAsync(string ticket, TransitHighlight t_highlight, object userState) { if ((this.CreateOrUpdateHighlightOperationCompleted == null)) { this.CreateOrUpdateHighlightOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateHighlightOperationCompleted); } this.InvokeAsync("CreateOrUpdateHighlight", new object[] { ticket, t_highlight}, this.CreateOrUpdateHighlightOperationCompleted, userState); }
/// <remarks/> public void CreateOrUpdateHighlightAsync(string ticket, TransitHighlight t_highlight) { this.CreateOrUpdateHighlightAsync(ticket, t_highlight, null); }
public int CreateOrUpdateHighlight(string ticket, TransitHighlight t_highlight) { object[] results = this.Invoke("CreateOrUpdateHighlight", new object[] { ticket, t_highlight}); return ((int)(results[0])); }