/// <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; }
/// <summary> /// Registers a document view content that uses the file. /// </summary> public virtual void RegisterDocumentContent(LiteDocumentContent documentContent) { _registeredContents.Add(documentContent); }