public override bool Initialize(IPluginHost host) { Debug.Assert( host != null ); if( host == null ) return false; m_host = host; string sPath = Path.Combine( System.AppDomain.CurrentDomain.BaseDirectory, "WebAutoType.dll" ); m_Importer = new PasscommImportCSV( File.Exists( sPath ) ); m_host.FileFormatPool.Add( m_Importer ); return true; }
public override bool Initialize(IPluginHost host) { Debug.Assert(host != null); if (host == null) { return(false); } m_host = host; string sPath = Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "WebAutoType.dll"); m_Importer = new PasscommImportCSV(File.Exists(sPath)); m_host.FileFormatPool.Add(m_Importer); return(true); }