如果我有一個實現IEditableObject Address類,我可能有EndEdit中實現這樣的: public void EndEdit()
{
// BeginEdit would have set _editInProgress and save to *Editing fields
if (_editInProgress)
{
_line1
如果我有一個實現IEditableObject Address對象,可能我EndEdit中實現這樣的: public void EndEdit()
{
// BeginEdit would set _editInProgress and update *Editing fields;
if (_editInProgress)
{
_line1 = _li