public InflAffixTemplateControl(FdoCache cache, int hvoRoot, XmlNode xnSpec, StringTable stringTable) : base(hvoRoot, XmlUtils.GetAttributeValue(xnSpec, "layout"), stringTable, true) { m_xnSpec = xnSpec["deParams"]; Cache = cache; m_template = Cache.ServiceLocator.GetInstance<IMoInflAffixTemplateRepository>().GetObject(m_hvoRoot); }