예제 #1
0
            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);
            }
예제 #2
0
 public XamlDocumentSubscription(XamlDocument document, XamlProjectSubscription parentXamlSubscription, XamlProjectSubscription.DocumentNodeFilter searchPath)
     : base(parentXamlSubscription)
 {
     this.searchPath   = searchPath;
     this.xamlDocument = document;
 }
예제 #3
0
 public BaseXamlSubscription(XamlProjectSubscription parentXamlSubscription)
 {
     this.parentXamlSubscription = parentXamlSubscription;
     this.oldBasisNodes          = new Dictionary <T, KeyValuePair <DocumentNodePath, int> >();
 }