InheritValues() 공개 메소드

public InheritValues ( Document oldDocument ) : void
oldDocument Document
리턴 void
예제 #1
0
 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
     }
 }