C# 클래스 ForumClientConsole.ClientConsole

파일 보기 프로젝트 열기: sagioto/forum 1 사용 예제들

공개 메소드들

메소드 설명
ClientConsole ( ) : System

Constructor

controller_OnUpdateFromServer ( Post p ) : void

This method is called when controller invoked its OnUpdate event

freeConsole ( ) : void

Must to be called when quiting console

startMenu ( ) : int

Menu method

비공개 메소드들

메소드 설명
AddForum ( ) : void
AddModerator ( ) : void
Back ( ) : void
EditPost ( string command ) : void
FormatPostComponent ( string comp, int lineLength ) : string
GetSubforum ( string subforumname ) : void
GetTrimmedLine ( string str, int maxLength ) : string
InitConsole ( ) : void
ListSubForums ( ) : void
Login ( ) : void
Logout ( ) : void
Post ( ) : void
PrintCurrentLocation ( ) : void
PrintPostList ( Post subForumPosts ) : void
ReadPassword ( ) : string
Register ( ) : void
RemoveForum ( ) : void
RemoveModerator ( ) : void
RemovePost ( string command ) : void
ReplaceAdmin ( ) : void
ReplaceModerator ( ) : void
Reply ( ) : void
ShowReplies ( string command ) : void
SubForumReport ( string subforum ) : void
UserReport ( string username ) : void

메소드 상세

ClientConsole() 공개 메소드

Constructor
public ClientConsole ( ) : System
리턴 System

controller_OnUpdateFromServer() 공개 메소드

This method is called when controller invoked its OnUpdate event
public controller_OnUpdateFromServer ( Post p ) : void
p ForumShared.SharedDataTypes.Post
리턴 void

freeConsole() 공개 메소드

Must to be called when quiting console
public freeConsole ( ) : void
리턴 void

startMenu() 공개 메소드

Menu method
public startMenu ( ) : int
리턴 int