Inheritance: IBubbledChangeFetcher
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 2
0
 public BubbledChangeFetcher(BubbledChangeFetcher parent)
 {
     Element = parent.Element.Parent;
     Parent = parent;
     Type = parent.Type;
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 4
0
 public BubbledChangeFetcher(BubbledChangeFetcher parent)
 {
     Element = parent.Element.Parent;
     Parent  = parent;
     Type    = parent.Type;
 }