상속: IBubbledChangeFetcher
예제 #1
0
        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
 public BubbledChangeFetcher(BubbledChangeFetcher parent)
 {
     Element = parent.Element.Parent;
     Parent = parent;
     Type = parent.Type;
 }
예제 #3
0
 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();
     }
 }
예제 #4
0
 public BubbledChangeFetcher(BubbledChangeFetcher parent)
 {
     Element = parent.Element.Parent;
     Parent  = parent;
     Type    = parent.Type;
 }