/// <summary> /// Constructor for creation a new instance of the Activity. /// </summary> /// <param name="Entry">A data taken from the server</param> public ActivityPresentation(ActivityReportStruct Entry) { _claim = new ClaimStruct(); _entry = Entry; _claim.Activity = Entry; _modified = ModificationStatus.None; }
/// <remarks/> public void UpdateActivityAsync(ActivityReportStruct ActivityEntry, object userState) { if ((this.UpdateActivityOperationCompleted == null)) { this.UpdateActivityOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateActivityOperationCompleted); } this.InvokeAsync("UpdateActivity", new object[] { ActivityEntry}, this.UpdateActivityOperationCompleted, userState); }
/// <remarks/> public void UpdateActivityAsync(ActivityReportStruct ActivityEntry) { this.UpdateActivityAsync(ActivityEntry, null); }
/// <remarks/> public System.IAsyncResult BeginUpdateActivity(ActivityReportStruct ActivityEntry, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("UpdateActivity", new object[] { ActivityEntry}, callback, asyncState); }
public void UpdateActivity(ActivityReportStruct ActivityEntry, out bool Result, [System.Xml.Serialization.XmlIgnoreAttribute()] out bool ResultSpecified) { object[] results = this.Invoke("UpdateActivity", new object[] { ActivityEntry}); Result = ((bool)(results[0])); ResultSpecified = ((bool)(results[1])); }
/// <summary> /// Constructor for creation a new instance of the activity presentation by claim /// </summary> /// <param name="Claim">A claim data taken from the server</param> public ActivityPresentation(ClaimStruct Claim) { _claim = Claim; _entry = _claim.Activity; _modified = ModificationStatus.None; }