public InheritValues ( |
||
oldDocument | ||
리턴 | void |
public void ChangeDocument(Document newDocument) { lock (documentLock) { Document oldDocument = Document; Document = newDocument; newDocument.InheritValues(oldDocument); // do we need to assign semanticsInLinks here? // TODO recycle oldDocument } }
public void ChangeDocument(Document newDocument) { lock (documentLock) { Document oldDocument = Document; Document = newDocument; newDocument.InheritValues(oldDocument); // do we need to assign semanticsInLinks here? // TODO recycle oldDocument } }