protected virtual void AttachDocument(WorkspaceDocument <TKey> document) { // TODO: unsubscribe? this.WorkspaceFileUpdated += (sender, e) => { // Update features tracking particular files. if (e.FilePath == this.KeyToString(document.Key)) { document.RaiseDocumentUpdated(e.Snapshot); } }; }
public abstract SnapshotBase GetCurrentSnapshot(WorkspaceDocument <TKey> workspaceDocumentBase);