public ObjectValuePartGenerator(FdoCache cache, XmlNode input, XmlVc vc, int rootClassId)
: base(cache, input, vc, rootClassId)
{
m_objectPath = XmlUtils.GetAttributeValue(input, "objectPath");
if (m_objectPath == null)
throw new ArgumentException("ObjectValuePartGenerator expects input to have objectPath attribute.");
// Enhance: generalize this
if (m_objectPath == "PhFeatureSystem.Features")
{
m_collectionToGeneratePartsFrom = cache.LangProject.PhFeatureSystemOA.FeaturesOC;
m_sortedCollection = from s in m_collectionToGeneratePartsFrom
orderby s.Abbreviation.BestAnalysisAlternative.Text
select s;
}
}
/// <summary>