C# Класс WikiFunctions.Disambiguation.DabForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Abort bool

Открытые методы

Метод Описание
DabForm ( Session session ) : System
Disambiguate ( string articleText, string articleTitle, string dabLink, string dabVariants, int contextChars, bool botMode, bool &skip ) : string

Displays a form that promts user for disambiguation if no disambiguation needed, immediately returns

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
DabForm_KeyPress ( object sender, KeyPressEventArgs e ) : void
DabForm_Load ( object sender, EventArgs e ) : void
DabForm_Move ( object sender, EventArgs e ) : void
DabForm_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnUserInput ( object sender, EventArgs e ) : void
btnArticle_Click ( object sender, EventArgs e ) : void
btnResetAll_Click ( object sender, EventArgs e ) : void
btnUndoAll_Click ( object sender, EventArgs e ) : void
editInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
unwatchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
watchToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Описание методов

DabForm() публичный Метод

public DabForm ( Session session ) : System
session Session
Результат System

Disambiguate() публичный Метод

Displays a form that promts user for disambiguation if no disambiguation needed, immediately returns
public Disambiguate ( string articleText, string articleTitle, string dabLink, string dabVariants, int contextChars, bool botMode, bool &skip ) : string
articleText string The wiki text of the article.
articleTitle string Title of the article
dabLink string link to be disambiguated
dabVariants string variants of disambiguation
contextChars int number of chars each side from link in the context box
botMode bool whether AWB saves pages automatically
skip bool returns true when no disambiguation made
Результат string

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Описание свойств

Abort публичное свойство

if true, all processing should be immediately halted
public bool Abort
Результат bool