コード例 #1
0
 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);
 }
コード例 #2
0
 public XamlDocumentSubscription(XamlDocument document, XamlProjectSubscription parentXamlSubscription, XamlProjectSubscription.DocumentNodeFilter searchPath)
     : base(parentXamlSubscription)
 {
     this.searchPath   = searchPath;
     this.xamlDocument = document;
 }