C# 클래스 AutoWikiBrowser.Plugins.Kingbotk.PluginBase

SDK Software's base class for template-manipulating AWB plugins
파일 보기 프로젝트 열기: reedy/AutoWikiBrowser 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
LastKnownGoodRedirects string
MainRegex System.Text.RegularExpressions.Regex
OurMenuItem System.Windows.Forms.ToolStripMenuItem
PreferredTemplateNameRegex System.Text.RegularExpressions.Regex
PreferredTemplateNameRegexCreator System.Text.RegularExpressions.Regex
SecondChanceRegex System.Text.RegularExpressions.Regex
Template Templating
TheArticle Article

Private Properties

프로퍼티 타입 설명
PluginBase System
PluginBase System
ReadXMLRedirects void
ReqPhoto void
TemplateWritingAndPlacement void
WriteXMLRedirects void
ourmenuitem_CheckedChanged void

보호된 메소드들

메소드 설명
AddAndLogNewParamWithAYesValue ( string paramName ) : void
AddEmptyParam ( string paramName ) : void
AddNewParamWithAYesValue ( string paramName ) : void
BotModeChanged ( bool botMode ) : void
ConvertRedirectsToString ( List redirects ) : string
GetRedirects ( string target ) : List

Load the redirects for a template from Wikipedia

GotNewAlternateNamesString ( string alternateNames, bool senderIsGenericTemplateForm = false ) : void

Called when we have a new Redirects list (at startup, from Wikipedia, or from the user in the case of generic templates)

GotTemplateNotPreferredName ( string templateName ) : void
ImportanceParameter ( Importance importance ) : void
Initialise ( ) : void
InitialiseBase ( ) : void
MatchEvaluator ( Match match ) : string
PluginCheckTemplateName ( string templateName ) : void
PreferredTemplateNameWikiMatchEvaluator ( Match match ) : string
ProcessArticleFinish ( ) : void
ProcessArticleFinishNonStandardMode ( Classification classification, Importance importance, bool forceNeedsInfobox, bool forceNeedsAttention, bool removeAutoStub ) : void
ProcessTalkPage ( Article article, Classification classification, Importance importance, bool forceNeedsInfobox, bool forceNeedsAttention, bool removeAutoStub, ProcessTalkPageMode processTalkPageMode, bool addReqPhotoParm ) : bool
ProcessTalkPage ( Article article, bool addReqPhotoParm ) : bool
ReadXML ( XmlTextReader reader ) : void
Reset ( ) : void
ShowHideOurObjects ( bool visible ) : void
SkipIfContains ( ) : bool
StubClass ( ) : void
TemplateFound ( ) : bool

Send the template to the plugin for preinspection

TemplateNotFound ( ) : void
WriteOutParameterToHeader ( string paramName ) : string
WriteTemplateHeader ( ) : string
WriteXML ( XmlTextWriter writer ) : void

비공개 메소드들

메소드 설명
PluginBase ( bool iamAGenericTemplate ) : System
PluginBase ( string defaultRegexpmiddle ) : System
ReadXMLRedirects ( XmlTextReader reader ) : void
ReqPhoto ( ) : void
TemplateWritingAndPlacement ( ) : void
WriteXMLRedirects ( XmlTextWriter writer ) : void
ourmenuitem_CheckedChanged ( object sender, EventArgs e ) : void

메소드 상세

AddAndLogNewParamWithAYesValue() 보호된 메소드

protected AddAndLogNewParamWithAYesValue ( string paramName ) : void
paramName string
리턴 void

AddEmptyParam() 보호된 메소드

protected AddEmptyParam ( string paramName ) : void
paramName string
리턴 void

AddNewParamWithAYesValue() 보호된 메소드

protected AddNewParamWithAYesValue ( string paramName ) : void
paramName string
리턴 void

BotModeChanged() 보호된 메소드

protected BotModeChanged ( bool botMode ) : void
botMode bool
리턴 void

ConvertRedirectsToString() 보호된 정적인 메소드

protected static ConvertRedirectsToString ( List redirects ) : string
redirects List
리턴 string

GetRedirects() 보호된 정적인 메소드

Load the redirects for a template from Wikipedia
protected static GetRedirects ( string target ) : List
target string Template name
리턴 List

GotNewAlternateNamesString() 보호된 메소드

Called when we have a new Redirects list (at startup, from Wikipedia, or from the user in the case of generic templates)
protected GotNewAlternateNamesString ( string alternateNames, bool senderIsGenericTemplateForm = false ) : void
alternateNames string
senderIsGenericTemplateForm bool
리턴 void

GotTemplateNotPreferredName() 보호된 메소드

protected GotTemplateNotPreferredName ( string templateName ) : void
templateName string
리턴 void

ImportanceParameter() 보호된 메소드

protected ImportanceParameter ( Importance importance ) : void
importance Importance
리턴 void

Initialise() 보호된 추상적인 메소드

protected abstract Initialise ( ) : void
리턴 void

InitialiseBase() 보호된 메소드

protected InitialiseBase ( ) : void
리턴 void

MatchEvaluator() 보호된 메소드

protected MatchEvaluator ( Match match ) : string
match Match
리턴 string

PluginCheckTemplateName() 보호된 메소드

protected PluginCheckTemplateName ( string templateName ) : void
templateName string
리턴 void

PreferredTemplateNameWikiMatchEvaluator() 보호된 메소드

protected PreferredTemplateNameWikiMatchEvaluator ( Match match ) : string
match Match
리턴 string

ProcessArticleFinish() 보호된 추상적인 메소드

protected abstract ProcessArticleFinish ( ) : void
리턴 void

ProcessArticleFinishNonStandardMode() 보호된 메소드

protected ProcessArticleFinishNonStandardMode ( Classification classification, Importance importance, bool forceNeedsInfobox, bool forceNeedsAttention, bool removeAutoStub ) : void
classification Classification
importance Importance
forceNeedsInfobox bool
forceNeedsAttention bool
removeAutoStub bool
리턴 void

ProcessTalkPage() 보호된 메소드

protected ProcessTalkPage ( Article article, Classification classification, Importance importance, bool forceNeedsInfobox, bool forceNeedsAttention, bool removeAutoStub, ProcessTalkPageMode processTalkPageMode, bool addReqPhotoParm ) : bool
article Article
classification Classification
importance Importance
forceNeedsInfobox bool
forceNeedsAttention bool
removeAutoStub bool
processTalkPageMode ProcessTalkPageMode
addReqPhotoParm bool
리턴 bool

ProcessTalkPage() 보호된 메소드

protected ProcessTalkPage ( Article article, bool addReqPhotoParm ) : bool
article Article
addReqPhotoParm bool
리턴 bool

ReadXML() 보호된 추상적인 메소드

protected abstract ReadXML ( XmlTextReader reader ) : void
reader System.Xml.XmlTextReader
리턴 void

Reset() 보호된 추상적인 메소드

protected abstract Reset ( ) : void
리턴 void

ShowHideOurObjects() 보호된 추상적인 메소드

protected abstract ShowHideOurObjects ( bool visible ) : void
visible bool
리턴 void

SkipIfContains() 보호된 추상적인 메소드

protected abstract SkipIfContains ( ) : bool
리턴 bool

StubClass() 보호된 메소드

protected StubClass ( ) : void
리턴 void

TemplateFound() 보호된 추상적인 메소드

Send the template to the plugin for preinspection
protected abstract TemplateFound ( ) : bool
리턴 bool

TemplateNotFound() 보호된 메소드

protected TemplateNotFound ( ) : void
리턴 void

WriteOutParameterToHeader() 보호된 메소드

protected WriteOutParameterToHeader ( string paramName ) : string
paramName string
리턴 string

WriteTemplateHeader() 보호된 추상적인 메소드

protected abstract WriteTemplateHeader ( ) : string
리턴 string

WriteXML() 보호된 추상적인 메소드

protected abstract WriteXML ( XmlTextWriter writer ) : void
writer System.Xml.XmlTextWriter
리턴 void

프로퍼티 상세

LastKnownGoodRedirects 보호되어 있는 프로퍼티

protected string LastKnownGoodRedirects
리턴 string

MainRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions MainRegex
리턴 System.Text.RegularExpressions.Regex

OurMenuItem 보호되어 있는 프로퍼티

protected ToolStripMenuItem,System.Windows.Forms OurMenuItem
리턴 System.Windows.Forms.ToolStripMenuItem

PreferredTemplateNameRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions PreferredTemplateNameRegex
리턴 System.Text.RegularExpressions.Regex

PreferredTemplateNameRegexCreator 보호되어 있는 정적으로 프로퍼티

protected static Regex,System.Text.RegularExpressions PreferredTemplateNameRegexCreator
리턴 System.Text.RegularExpressions.Regex

SecondChanceRegex 보호되어 있는 프로퍼티

protected Regex,System.Text.RegularExpressions SecondChanceRegex
리턴 System.Text.RegularExpressions.Regex

Template 보호되어 있는 프로퍼티

protected Templating,AutoWikiBrowser.Plugins.Kingbotk Template
리턴 Templating

TheArticle 보호되어 있는 프로퍼티

protected Article,AutoWikiBrowser.Plugins.Kingbotk TheArticle
리턴 Article