public XamlSceneSubscription(SceneViewModel viewModel, XamlProjectSubscription parentXamlSubscription, SearchPath searchPath) : base(parentXamlSubscription) { this.viewModel = viewModel; this.subscription = new SceneNodeSubscription <SceneNode, SceneNode>(); this.subscription.Path = searchPath; this.subscription.PathNodeInserted += new SceneNodeSubscription <SceneNode, SceneNode> .PathNodeInsertedListener(this.Subscription_PathNodeInserted); this.subscription.PathNodeRemoved += new SceneNodeSubscription <SceneNode, SceneNode> .PathNodeRemovedListener(this.Subscription_PathNodeRemoved); this.viewModel.LateSceneUpdatePhase += new SceneUpdatePhaseEventHandler(this.ViewModel_LateSceneUpdatePhase); }
public XamlDocumentSubscription(XamlDocument document, XamlProjectSubscription parentXamlSubscription, XamlProjectSubscription.DocumentNodeFilter searchPath) : base(parentXamlSubscription) { this.searchPath = searchPath; this.xamlDocument = document; }
public BaseXamlSubscription(XamlProjectSubscription parentXamlSubscription) { this.parentXamlSubscription = parentXamlSubscription; this.oldBasisNodes = new Dictionary <T, KeyValuePair <DocumentNodePath, int> >(); }