示例#1
0
        // this is so we dont use ?. everywhere.
        // for null remoters the local object is always null
        public static ProjectElement Import(this MockProjectElementLinkRemoter remoter, ProjectCollectionLinker remote)
        {
            if (remoter == null)
            {
                return(null);
            }

            return(remoter.ImportImpl(remote));
        }
示例#2
0
 public void RemoveChild(MockProjectElementLinkRemoter child)
 {
     this.ContainerXml.RemoveChild(child.Import(this.OwningCollection));
 }
示例#3
0
 public void AddInitialChild(MockProjectElementLinkRemoter child)
 {
     ProjectElementContainerLink.AddInitialChild(this.ContainerXml, child.Import(OwningCollection));
 }
示例#4
0
 public void InsertBeforeChild(MockProjectElementLinkRemoter child, MockProjectElementLinkRemoter reference)
 {
     this.ContainerXml.InsertBeforeChild(child.Import(OwningCollection), reference.Import(OwningCollection));
 }