Beispiel #1
0
        public MockProjectElementContainerLinkRemoter DeepClone(MockProjectRootElementLinkRemoter factory, MockProjectElementContainerLinkRemoter parent)
        {
            var pre    = (ProjectRootElement)factory.Import(OwningCollection);
            var pec    = (ProjectElementContainer)parent.Import(OwningCollection);
            var result = ProjectElementContainerLink.DeepClone(this.ContainerXml, pre, pec);

            return((MockProjectElementContainerLinkRemoter)this.Export(result));
        }
 /// <summary>
 /// External projects support
 /// </summary>
 internal ProjectElementContainer(ProjectElementContainerLink link)
     : base(link)
 {
 }
Beispiel #3
0
 public void AddInitialChild(MockProjectElementLinkRemoter child)
 {
     ProjectElementContainerLink.AddInitialChild(this.ContainerXml, child.Import(OwningCollection));
 }