public XamlProjectSubscription(DesignerContext designerContext, IProjectContext projectContext, SearchPath sceneSearch, XamlProjectSubscription.DocumentNodeFilter documentSearch) { this.designerContext = designerContext; this.projectContext = projectContext; this.sceneSearch = sceneSearch; this.documentSearch = documentSearch; this.watchers = new Dictionary <XamlDocument, IXamlSubscription>(); this.chainUpdate = new Queue <XamlDocument>(); this.basisNodes = new DocumentNodeMarkerSortedListOf <DocumentNodePath>(); this.designerContext.ViewService.ViewClosed += new ViewEventHandler(this.ViewService_ViewOpenedOrClosed); this.designerContext.ViewService.ViewOpened += new ViewEventHandler(this.ViewService_ViewOpenedOrClosed); }
public XamlDocumentSubscription(XamlDocument document, XamlProjectSubscription parentXamlSubscription, XamlProjectSubscription.DocumentNodeFilter searchPath) : base(parentXamlSubscription) { this.searchPath = searchPath; this.xamlDocument = document; }