Пример #1
0
 /// <summary>
 /// Unregisters a document view content that no longer uses the file.
 /// </summary>
 public virtual void UnRegisterDocumentContent(LiteDocumentContent documentContent)
 {
     _registeredContents.Remove(documentContent);
 }
 public override void UnRegisterDocumentContent(LiteDocumentContent documentContent)
 {
     base.UnRegisterDocumentContent(documentContent);
     if (RegisteredDocumentContents.Count == 0)
         HasUnsavedData = false;
 }
Пример #3
0
 /// <summary>
 /// Registers a document view content that uses the file.
 /// </summary>
 public virtual void RegisterDocumentContent(LiteDocumentContent documentContent)
 {
     _registeredContents.Add(documentContent);
 }