C# Class admin.Settings.Rules

显示文件 Open project: rasmuskl/ReSharperCourse

Protected Properties

Property Type Description
Filters ExtensionSettings

Public Methods

Method Description
ApprovedCnt ( object total, object cought ) : string
CustomFilterEnabled ( string filter ) : bool

Usually filter implemented as extension and can be turned on and off. If it is not extension, defaulted to enabled.

Protected Methods

Method Description
BindFilters ( ) : void
Page_Load ( object sender, EventArgs e ) : void
ValidateForm ( ) : bool
btnAddFilter_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
gridCustomFilters_RowCommand ( object sender, GridViewCommandEventArgs e ) : void
gridView_PageIndexChanging ( object sender, GridViewPageEventArgs e ) : void

Private Methods

Method Description
GetCustomFilters ( ) : List

Method Details

ApprovedCnt() public static method

public static ApprovedCnt ( object total, object cought ) : string
total object
cought object
return string

BindFilters() protected method

protected BindFilters ( ) : void
return void

CustomFilterEnabled() public method

Usually filter implemented as extension and can be turned on and off. If it is not extension, defaulted to enabled.
public CustomFilterEnabled ( string filter ) : bool
filter string Filter (extension) name
return bool

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

ValidateForm() protected method

protected ValidateForm ( ) : bool
return bool

btnAddFilter_Click() protected method

protected btnAddFilter_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnDelete_Click() protected method

protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnSave_Click() protected method

protected btnSave_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

gridCustomFilters_RowCommand() protected method

protected gridCustomFilters_RowCommand ( object sender, GridViewCommandEventArgs e ) : void
sender object
e GridViewCommandEventArgs
return void

gridView_PageIndexChanging() protected method

protected gridView_PageIndexChanging ( object sender, GridViewPageEventArgs e ) : void
sender object
e GridViewPageEventArgs
return void

Property Details

Filters protected_oe static_oe property

protected static ExtensionSettings Filters
return ExtensionSettings