Inheritance: IBubbledChangeFetcher
コード例 #1
0
ファイル: BubbledChangeFetcher.cs プロジェクト: mlessmann/NMF
        protected virtual void RenewChild()
        {
            var model = Element as Model;

            if (model != null && model.Repository != null)
            {
                Child = new BubbledChangeRepositoryFetcher(model.Repository, this);
                Child.Attach();
            }
            else if (Element.Parent == null)
            {
                Child = null;
            }
            else
            {
                Child = new BubbledChangeFetcher(this);
                Child.Attach();
            }
        }
コード例 #2
0
ファイル: BubbledChangeFetcher.cs プロジェクト: NMFCode/NMF
 protected virtual void RenewChild()
 {
     var model = Element as Model;
     if (model != null && model.Repository != null)
     {
         Child = new BubbledChangeRepositoryFetcher(model.Repository, this);
         Child.Attach();
     }
     else if (Element.Parent == null)
     {
         Child = null;
     }
     else
     {
         Child = new BubbledChangeFetcher(this);
         Child.Attach();
     }
 }