예제 #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;
 }
예제 #2
0
 /// <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);
 }
예제 #3
0
 /// <remarks/>
 public void UpdateActivityAsync(ActivityReportStruct ActivityEntry) {
     this.UpdateActivityAsync(ActivityEntry, null);
 }
예제 #4
0
 /// <remarks/>
 public System.IAsyncResult BeginUpdateActivity(ActivityReportStruct ActivityEntry, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("UpdateActivity", new object[] {
                 ActivityEntry}, callback, asyncState);
 }
예제 #5
0
 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]));
 }
예제 #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;
 }