public void Run() { if (_isOnSite && _profileCollection.Empty()) { var c = new BuildSearchIndexesCommand(_bus, _profileCollection, _pluginContext, _pluginMetadata); c.Execute(string.Empty); } _log.Info("Started Search Plugin"); }
private void DoRebuild() { var c = new BuildSearchIndexesCommand(_bus, _profileCollection, _profile, _pluginContext, _pluginMetadata); c.Execute(string.Empty); }