C# Class 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.
Afficher le fichier Open project: clearwavebuild/elmah

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetErrorsPage ( int index, int size ) : Elmah.ErrorLogEntry[]

Method Details

ErrorLogDataSourceAdapter() public méthode

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

GetErrorCount() public méthode

Use as the value for ObjectDataSource.SelectCountMethod.
public GetErrorCount ( ) : int
Résultat int

GetErrors() public méthode

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
Résultat Elmah.ErrorLogEntry[]