// 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)); }
public void AddInitialChild(MockProjectElementLinkRemoter child) { ProjectElementContainerLink.AddInitialChild(this.ContainerXml, child.Import(OwningCollection)); }
public void RemoveChild(MockProjectElementLinkRemoter child) { this.ContainerXml.RemoveChild(child.Import(this.OwningCollection)); }
public void InsertBeforeChild(MockProjectElementLinkRemoter child, MockProjectElementLinkRemoter reference) { this.ContainerXml.InsertBeforeChild(child.Import(OwningCollection), reference.Import(OwningCollection)); }