C# 클래스 WikiFunctions.API.AsyncApiEdit

Multithreaded API editor class
상속: IApiEdit
파일 보기 프로젝트 열기: reedy/AutoWikiBrowser 1 사용 예제들

공개 메소드들

메소드 설명
Abort ( ) : void
AsyncApiEdit ( string url ) : System
AsyncApiEdit ( string url, Control parentControl ) : System
Clone ( ) : AsyncApiEdit
Delete ( string title, string reason ) : void
Delete ( string title, string reason, bool watch ) : void
ExpandTemplates ( string title, string text ) : void
HttpGet ( string url ) : void
Login ( string username, string password ) : void
Logout ( ) : void
Move ( string title, string newTitle, string reason ) : void
Move ( string title, string newTitle, string reason, bool moveTalk, bool noRedirect ) : void
Move ( string title, string newTitle, string reason, bool moveTalk, bool noRedirect, bool watch ) : void
Open ( string title, bool resolveRedirects ) : void
ParseApi ( string queryParameters ) : void
Preview ( string title, string text ) : void
Protect ( string title, string reason, System.TimeSpan expiry, string edit, string move ) : void
Protect ( string title, string reason, System.TimeSpan expiry, string edit, string move, bool cascade, bool watch ) : void
Protect ( string title, string reason, string expiry, string edit, string move ) : void
Protect ( string title, string reason, string expiry, string edit, string move, bool cascade, bool watch ) : void
QueryApi ( string queryParameters ) : void
RefreshUserInfo ( ) : void
Reset ( ) : void
Rollback ( string title, string user ) : void
Save ( string pageText, string summary, bool minor, WatchOptions watch ) : void
Unwatch ( string title ) : void
Wait ( ) : void

Waits for asynchronous operation to complete

Watch ( string title ) : void

보호된 메소드들

메소드 설명
OnExceptionCaught ( Exception ex ) : void
OnOperationComplete ( string operation, object result ) : void
OnOperationFailed ( string operation, Exception ex ) : void

비공개 메소드들

메소드 설명
AsyncApiEdit ( ApiEdit editor, Control parentControl ) : System
CallEvent ( Delegate method ) : void

Invokes a supplied delegate. If the editor is owned by a control, the delegate will called from the control's thread, otherwise it will be called from current thread.

InvokeFunction ( InvokeArgs args ) : void
InvokeFunction ( string name ) : void
InvokerThread ( object genericArgs ) : void

메소드 상세

Abort() 공개 메소드

public Abort ( ) : void
리턴 void

AsyncApiEdit() 공개 메소드

public AsyncApiEdit ( string url ) : System
url string
리턴 System

AsyncApiEdit() 공개 메소드

public AsyncApiEdit ( string url, Control parentControl ) : System
url string
parentControl System.Windows.Forms.Control
리턴 System

Clone() 공개 메소드

public Clone ( ) : AsyncApiEdit
리턴 AsyncApiEdit

Delete() 공개 메소드

public Delete ( string title, string reason ) : void
title string
reason string
리턴 void

Delete() 공개 메소드

public Delete ( string title, string reason, bool watch ) : void
title string
reason string
watch bool
리턴 void

ExpandTemplates() 공개 메소드

public ExpandTemplates ( string title, string text ) : void
title string
text string
리턴 void

HttpGet() 공개 메소드

public HttpGet ( string url ) : void
url string
리턴 void

Login() 공개 메소드

public Login ( string username, string password ) : void
username string
password string
리턴 void

Logout() 공개 메소드

public Logout ( ) : void
리턴 void

Move() 공개 메소드

public Move ( string title, string newTitle, string reason ) : void
title string
newTitle string
reason string
리턴 void

Move() 공개 메소드

public Move ( string title, string newTitle, string reason, bool moveTalk, bool noRedirect ) : void
title string
newTitle string
reason string
moveTalk bool
noRedirect bool
리턴 void

Move() 공개 메소드

public Move ( string title, string newTitle, string reason, bool moveTalk, bool noRedirect, bool watch ) : void
title string
newTitle string
reason string
moveTalk bool
noRedirect bool
watch bool
리턴 void

OnExceptionCaught() 보호된 메소드

protected OnExceptionCaught ( Exception ex ) : void
ex System.Exception
리턴 void

OnOperationComplete() 보호된 메소드

protected OnOperationComplete ( string operation, object result ) : void
operation string
result object
리턴 void

OnOperationFailed() 보호된 메소드

protected OnOperationFailed ( string operation, Exception ex ) : void
operation string
ex System.Exception
리턴 void

Open() 공개 메소드

public Open ( string title, bool resolveRedirects ) : void
title string
resolveRedirects bool
리턴 void

ParseApi() 공개 메소드

public ParseApi ( string queryParameters ) : void
queryParameters string
리턴 void

Preview() 공개 메소드

public Preview ( string title, string text ) : void
title string
text string
리턴 void

Protect() 공개 메소드

public Protect ( string title, string reason, System.TimeSpan expiry, string edit, string move ) : void
title string
reason string
expiry System.TimeSpan
edit string
move string
리턴 void

Protect() 공개 메소드

public Protect ( string title, string reason, System.TimeSpan expiry, string edit, string move, bool cascade, bool watch ) : void
title string
reason string
expiry System.TimeSpan
edit string
move string
cascade bool
watch bool
리턴 void

Protect() 공개 메소드

public Protect ( string title, string reason, string expiry, string edit, string move ) : void
title string
reason string
expiry string
edit string
move string
리턴 void

Protect() 공개 메소드

public Protect ( string title, string reason, string expiry, string edit, string move, bool cascade, bool watch ) : void
title string
reason string
expiry string
edit string
move string
cascade bool
watch bool
리턴 void

QueryApi() 공개 메소드

public QueryApi ( string queryParameters ) : void
queryParameters string
리턴 void

RefreshUserInfo() 공개 메소드

public RefreshUserInfo ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Rollback() 공개 메소드

public Rollback ( string title, string user ) : void
title string
user string
리턴 void

Save() 공개 메소드

public Save ( string pageText, string summary, bool minor, WatchOptions watch ) : void
pageText string
summary string
minor bool
watch WatchOptions
리턴 void

Unwatch() 공개 메소드

public Unwatch ( string title ) : void
title string
리턴 void

Wait() 공개 메소드

Waits for asynchronous operation to complete
public Wait ( ) : void
리턴 void

Watch() 공개 메소드

public Watch ( string title ) : void
title string
리턴 void