protected override void MakeVc() { m_vc = new InterlinTaggingVc(m_fdoCache); // Needed somewhere to initialize these where the cache is already created. Here looks good. // But test subclass doesn't DO MakeVc(), so we make them protected and load this in the // test subclass ctor m_textTagAnnDefn = CmAnnotationDefn.TextMarkupTag(Cache).Hvo; m_twficAnnDefn = CmAnnotationDefn.Twfic(Cache).Hvo; }
protected override void MakeVc() { m_vc = new InterlinTaggingVc(m_cache); m_tagFact = m_cache.ServiceLocator.GetInstance <ITextTagFactory>(); m_segRepo = m_cache.ServiceLocator.GetInstance <ISegmentRepository>(); }
protected override void MakeVc() { m_vc = new InterlinTaggingVc(m_fdoCache); m_tagFact = m_fdoCache.ServiceLocator.GetInstance<ITextTagFactory>(); m_segRepo = m_fdoCache.ServiceLocator.GetInstance<ISegmentRepository>(); }