In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList<string, AddInProject>
m_addinProjects;
public AllAddInProjects()
{
m_addinProjects = new SortedList<string,
AddInProject>();
}
}
}