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