AutoWikiBrowser.Plugins.Kingbotk.Article.RenamedATemplate C# (CSharp) Méthode

RenamedATemplate() private méthode

private RenamedATemplate ( string oldName, string newName ) : void
oldName string
newName string
Résultat void
        internal void RenamedATemplate(string oldName, string newName)
        {
            DoneReplacement(oldName, newName);
        }

Usage Example

Exemple #1
0
 protected void PluginCheckTemplateName(string templateName)
 {
     if (HasAlternateNames)
     {
         if (!PreferredTemplateNameRegex.Match(templateName).Success)
         {
             TheArticle.RenamedATemplate(templateName, PreferredTemplateName);
             GotTemplateNotPreferredName(templateName);
         }
     }
 }