Пример #1
0
        protected void Run(ClientPipelineArgs args)
        {
            string parameter = args.Parameters["itemPath"];

            if (string.IsNullOrEmpty(parameter))
            {
                return;
            }

            ProgressBox.ExecuteSync($"Re-Index Tree. ({parameter})", "Re-indexing the current item with subitems.", "Applications/16x16/replace2.png", this.Refresh, this.RefreshDone);
        }
 /// <summary>Runs the command in ProgressBox.</summary>
 /// <param name="args">The args.</param>
 protected void Run(ClientPipelineArgs args)
 {
     ProgressBox.ExecuteSync(Translate.Text("Related Content Tagging"), Translate.Text("Related Tagging Content"), "People/16x16/hammer.png", this.RunTagging, this.TaggingDone);
 }
Пример #3
0
 protected void Run(ClientPipelineArgs args)
 {
     ProgressBox.ExecuteSync("Rebuild indexes", "Completely rebuild search indexes.", "Applications/16x16/replace2.png", this.Rebuild, this.Done);
 }