internal void InitializeComponentsForRestore(IVssWriterComponents components) { // Erase the current list of components for this writer. ComponentDescriptors.Clear(); // Enumerate the components from the BC document foreach (IVssComponent component in components.Components) { VssComponentDescriptor desc = new VssComponentDescriptor(m_host, this.WriterMetadata.WriterName, component); m_host.WriteLine("Found component available for restore: \"{0}\"", desc.FullPath); ComponentDescriptors.Add(desc); } }