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

            c.Execute(string.Empty);
        }