internal SwComponent(IComponent2 comp, ISwAssembly parentAssembly) : base(comp) { m_ParentAssembly = parentAssembly; Component = comp; Children = new SwChildComponentsCollection(parentAssembly, comp); Features = new ComponentFeatureRepository(parentAssembly, comp); Bodies = new SwComponentBodyCollection(comp, parentAssembly); }
internal SwComponent(IComponent2 comp, SwAssembly parentAssembly) : base(comp) { m_ParentAssembly = parentAssembly; Component = comp; Children = new SwChildComponentsCollection(parentAssembly, comp); Features = new ComponentFeatureRepository(parentAssembly, comp); Bodies = new SwComponentBodyCollection(comp, parentAssembly); m_FilePathResolver = m_ParentAssembly.App.Services.GetService <IFilePathResolver>(); }