示例#1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::WindonsServo.Model.Product)newDataRoot;
         return(true);
     }
     return(false);
 }
示例#2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::WindonsServo.Model.Product obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Profession(obj.Profession, phase);
             this.Update_Name(obj.Name, phase);
             this.Update_Address(obj.Address, phase);
         }
     }
 }