public ReplaceWithMethod(FdoCache cache, ISilDataAccessManaged sda, FieldReadWriter accessor, XmlNode spec, IVwPattern pattern, ITsString replacement) : base(cache, sda, accessor, spec) { m_pattern = pattern; m_replacement = replacement; m_pattern.ReplaceWith = m_replacement; m_textSourceInit = VwStringTextSourceClass.Create(); m_ts = m_textSourceInit as IVwTextSource; }
private void Init() { m_textSourceInit = VwStringTextSourceClass.Create(); m_ts = m_textSourceInit as IVwTextSource; if(m_pattern == null) m_pattern = VwPatternClass.Create(); }