public PartInfo(OPCPackage containingPackage, PartInfo templatePartInfo) { this.Id = templatePartInfo.Id; this.Type = templatePartInfo.Type; this.Target = templatePartInfo.Target; this.External = templatePartInfo.External; this.RelatedTo = templatePartInfo.RelatedTo; this.m_containingPackage = containingPackage; m_relationships = new Relationships(); }
public PartInfo(OPCPackage containingPackage) { m_containingPackage = containingPackage; m_relationships = new Relationships(); }
public void LoadRelationships(Stream str) { m_relationships = new Relationships(m_containingPackage, str, AbsolutePath()); }