C# 클래스 ScrewTurn.Wiki.FileManager

파일 보기 프로젝트 열기: mono/ScrewTurnWiki

보호된 프로퍼티들

프로퍼티 타입 설명
btnCancel global::Anthem.Button
btnNewDirectory global::Anthem.Button
btnRename global::Anthem.Button
btnUpload global::System.Web.UI.WebControls.Button
chkOverwrite global::System.Web.UI.WebControls.CheckBox
fileUpload global::System.Web.UI.WebControls.FileUpload
lblDirectoryName global::System.Web.UI.WebControls.Literal
lblItem global::Anthem.Label
lblManagePermissions global::System.Web.UI.WebControls.Literal
lblNewDirectoryResult global::Anthem.Label
lblNewDirectoryTitle global::System.Web.UI.WebControls.Literal
lblNoList global::Anthem.Label
lblRename global::System.Web.UI.WebControls.Literal
lblRenameResult global::Anthem.Label
lblRoot global::Anthem.Label
lblStrings global::System.Web.UI.WebControls.Literal
lblUploadFiles global::System.Web.UI.WebControls.Literal
lblUploadFilesInfo global::System.Web.UI.WebControls.Literal
lblUploadResult global::System.Web.UI.WebControls.Label
lnkRoot global::Anthem.LinkButton
lstProviders global::Anthem.DropDownList
permissionsManager global::ScrewTurn.Wiki.PermissionsManager
plhDirectory global::Anthem.PlaceHolder
pnlNewDirectory global::Anthem.Panel
pnlPermissions global::Anthem.Panel
pnlRename global::Anthem.Panel
pnlUpload global::Anthem.Panel
rptItems global::Anthem.Repeater
txtNewDirectoryName global::Anthem.TextBox
txtNewName global::Anthem.TextBox

Private Properties

프로퍼티 타입 설명
DeletePermissions void
DetectPermissions void
EnterDirectory void
GetItemName string
LoadProviders void
MovePermissions void
PopulateBreadcrumb void
SetupControlsForPermissions void
linkButton_Click void

공개 메소드들

메소드 설명
GoToRoot ( ) : void

Returns to the root.

TryEnterDirectory ( string provider, string directory ) : void

Tries to enter a directory.

보호된 메소드들

메소드 설명
Page_Load ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnNewDirectory_Click ( object sender, EventArgs e ) : void
btnRename_Click ( object sender, EventArgs e ) : void
btnUpload_Click ( object sender, EventArgs e ) : void
lnkRoot_Click ( object sender, EventArgs e ) : void
lstProviders_SelectedIndexChanged ( object sender, EventArgs e ) : void
rptItems_DataBinding ( object sender, EventArgs e ) : void
rptItems_ItemCommand ( object sender, RepeaterCommandEventArgs e ) : void

비공개 메소드들

메소드 설명
DeletePermissions ( string directory ) : void

Deletes the permissions of a directory.

DetectPermissions ( ) : void

Detects the permissions of the current user for the current directory.

EnterDirectory ( string name ) : void

Enters a sub-directory of the current directory.

GetItemName ( string path ) : string

Gets the name of an item.

LoadProviders ( ) : void

Loads the providers.

MovePermissions ( string oldDirectory, string newDirectory ) : void

Recursively moves permissions from the old (renamed) directory to the new one.

PopulateBreadcrumb ( ) : void

Populates the directory breadcrumb placeholder. See also methods linkButton_Click e lnkRoot_Click.

SetupControlsForPermissions ( ) : void

Sets the controls depending on the current permissions.

linkButton_Click ( object sender, EventArgs e ) : void

메소드 상세

GoToRoot() 공개 메소드

Returns to the root.
public GoToRoot ( ) : void
리턴 void

Page_Load() 보호된 메소드

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

TryEnterDirectory() 공개 메소드

Tries to enter a directory.
public TryEnterDirectory ( string provider, string directory ) : void
provider string The provider.
directory string The full path of the directory.
리턴 void

btnCancel_Click() 보호된 메소드

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

btnNewDirectory_Click() 보호된 메소드

protected btnNewDirectory_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

btnRename_Click() 보호된 메소드

protected btnRename_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

btnUpload_Click() 보호된 메소드

protected btnUpload_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

lnkRoot_Click() 보호된 메소드

protected lnkRoot_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

lstProviders_SelectedIndexChanged() 보호된 메소드

protected lstProviders_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

rptItems_DataBinding() 보호된 메소드

protected rptItems_DataBinding ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

rptItems_ItemCommand() 보호된 메소드

protected rptItems_ItemCommand ( object sender, RepeaterCommandEventArgs e ) : void
sender object
e RepeaterCommandEventArgs
리턴 void

프로퍼티 상세

btnCancel 보호되어 있는 프로퍼티

btnCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnCancel
리턴 global::Anthem.Button

btnNewDirectory 보호되어 있는 프로퍼티

btnNewDirectory control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnNewDirectory
리턴 global::Anthem.Button

btnRename 보호되어 있는 프로퍼티

btnRename control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnRename
리턴 global::Anthem.Button

btnUpload 보호되어 있는 프로퍼티

btnUpload control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnUpload
리턴 global::System.Web.UI.WebControls.Button

chkOverwrite 보호되어 있는 프로퍼티

chkOverwrite control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkOverwrite
리턴 global::System.Web.UI.WebControls.CheckBox

fileUpload 보호되어 있는 프로퍼티

fileUpload control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.FileUpload fileUpload
리턴 global::System.Web.UI.WebControls.FileUpload

lblDirectoryName 보호되어 있는 프로퍼티

lblDirectoryName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblDirectoryName
리턴 global::System.Web.UI.WebControls.Literal

lblItem 보호되어 있는 프로퍼티

lblItem control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblItem
리턴 global::Anthem.Label

lblManagePermissions 보호되어 있는 프로퍼티

lblManagePermissions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblManagePermissions
리턴 global::System.Web.UI.WebControls.Literal

lblNewDirectoryResult 보호되어 있는 프로퍼티

lblNewDirectoryResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblNewDirectoryResult
리턴 global::Anthem.Label

lblNewDirectoryTitle 보호되어 있는 프로퍼티

lblNewDirectoryTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblNewDirectoryTitle
리턴 global::System.Web.UI.WebControls.Literal

lblNoList 보호되어 있는 프로퍼티

lblNoList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblNoList
리턴 global::Anthem.Label

lblRename 보호되어 있는 프로퍼티

lblRename control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblRename
리턴 global::System.Web.UI.WebControls.Literal

lblRenameResult 보호되어 있는 프로퍼티

lblRenameResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblRenameResult
리턴 global::Anthem.Label

lblRoot 보호되어 있는 프로퍼티

lblRoot control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblRoot
리턴 global::Anthem.Label

lblStrings 보호되어 있는 프로퍼티

lblStrings control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblStrings
리턴 global::System.Web.UI.WebControls.Literal

lblUploadFiles 보호되어 있는 프로퍼티

lblUploadFiles control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblUploadFiles
리턴 global::System.Web.UI.WebControls.Literal

lblUploadFilesInfo 보호되어 있는 프로퍼티

lblUploadFilesInfo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblUploadFilesInfo
리턴 global::System.Web.UI.WebControls.Literal

lblUploadResult 보호되어 있는 프로퍼티

lblUploadResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblUploadResult
리턴 global::System.Web.UI.WebControls.Label

lnkRoot 보호되어 있는 프로퍼티

lnkRoot control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.LinkButton lnkRoot
리턴 global::Anthem.LinkButton

lstProviders 보호되어 있는 프로퍼티

lstProviders control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.DropDownList lstProviders
리턴 global::Anthem.DropDownList

permissionsManager 보호되어 있는 프로퍼티

permissionsManager control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.PermissionsManager permissionsManager
리턴 global::ScrewTurn.Wiki.PermissionsManager

plhDirectory 보호되어 있는 프로퍼티

plhDirectory control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.PlaceHolder plhDirectory
리턴 global::Anthem.PlaceHolder

pnlNewDirectory 보호되어 있는 프로퍼티

pnlNewDirectory control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlNewDirectory
리턴 global::Anthem.Panel

pnlPermissions 보호되어 있는 프로퍼티

pnlPermissions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlPermissions
리턴 global::Anthem.Panel

pnlRename 보호되어 있는 프로퍼티

pnlRename control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlRename
리턴 global::Anthem.Panel

pnlUpload 보호되어 있는 프로퍼티

pnlUpload control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlUpload
리턴 global::Anthem.Panel

rptItems 보호되어 있는 프로퍼티

rptItems control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Repeater rptItems
리턴 global::Anthem.Repeater

txtNewDirectoryName 보호되어 있는 프로퍼티

txtNewDirectoryName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox txtNewDirectoryName
리턴 global::Anthem.TextBox

txtNewName 보호되어 있는 프로퍼티

txtNewName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox txtNewName
리턴 global::Anthem.TextBox