コード例 #1
0
 public AddEditViewModel(Gadget gadget)
 {
     OriginalGadget = gadget;
     Gadget         = (Gadget)OriginalGadget.Clone();
     IsNew          = (Gadget.InventoryNumber == null);
 }