C# 클래스 Elmah.ErrorLogDataSourceAdapter

Methods of this type are designed to serve an System.Web.UI.WebControls.ObjectDataSource control and are adapted according to expected call signatures and behavior.
파일 보기 프로젝트 열기: clearwavebuild/elmah

공개 메소드들

메소드 설명
ErrorLogDataSourceAdapter ( ) : System.Collections.Generic

Initializes a new instance of the ErrorLogDataSourceAdapter class with the default error log implementation.

GetErrorCount ( ) : int

Use as the value for ObjectDataSource.SelectCountMethod.

GetErrors ( int startRowIndex, int maximumRows ) : Elmah.ErrorLogEntry[]

Use as the value for ObjectDataSource.SelectMethod.

The parameters of this method are named after the default values for ObjectDataSource.StartRowIndexParameterName and ObjectDataSource.MaximumRowsParameterName so that the minimum markup is needed for the object data source control.

비공개 메소드들

메소드 설명
GetErrorsPage ( int index, int size ) : Elmah.ErrorLogEntry[]

메소드 상세

ErrorLogDataSourceAdapter() 공개 메소드

Initializes a new instance of the ErrorLogDataSourceAdapter class with the default error log implementation.
public ErrorLogDataSourceAdapter ( ) : System.Collections.Generic
리턴 System.Collections.Generic

GetErrorCount() 공개 메소드

Use as the value for ObjectDataSource.SelectCountMethod.
public GetErrorCount ( ) : int
리턴 int

GetErrors() 공개 메소드

Use as the value for ObjectDataSource.SelectMethod.
The parameters of this method are named after the default values for ObjectDataSource.StartRowIndexParameterName and ObjectDataSource.MaximumRowsParameterName so that the minimum markup is needed for the object data source control.
public GetErrors ( int startRowIndex, int maximumRows ) : Elmah.ErrorLogEntry[]
startRowIndex int
maximumRows int
리턴 Elmah.ErrorLogEntry[]