Exemple #1
0
 /// <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 UpdateActivityForClaimAsync(string AdminID, string ClientVersion, ClaimStruct Activity, object userState) {
     if ((this.UpdateActivityForClaimOperationCompleted == null)) {
         this.UpdateActivityForClaimOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateActivityForClaimOperationCompleted);
     }
     this.InvokeAsync("UpdateActivityForClaim", new object[] {
                 AdminID,
                 ClientVersion,
                 Activity}, this.UpdateActivityForClaimOperationCompleted, userState);
 }
 /// <remarks/>
 public void UpdateActivityForClaimAsync(string AdminID, string ClientVersion, ClaimStruct Activity) {
     this.UpdateActivityForClaimAsync(AdminID, ClientVersion, Activity, null);
 }
 /// <remarks/>
 public System.IAsyncResult BeginUpdateActivityForClaim(string AdminID, string ClientVersion, ClaimStruct Activity, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("UpdateActivityForClaim", new object[] {
                 AdminID,
                 ClientVersion,
                 Activity}, callback, asyncState);
 }
 public void UpdateActivityForClaim(string AdminID, string ClientVersion, ClaimStruct Activity) {
     this.Invoke("UpdateActivityForClaim", new object[] {
                 AdminID,
                 ClientVersion,
                 Activity});
 }
Exemple #6
0
 /// <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;
 }