C# Class WebApplications.Testing.Data.SqlErrorCollectionPrototype

Inheritance: ICollection
ファイルを表示 Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
Add ( SqlError error ) : void

Adds the specified error to the collection.

CopyTo ( Array array, int index ) : void
GetEnumerator ( ) : IEnumerator
SqlErrorCollectionPrototype ( [ collection ) : System

Initializes a new instance of the SqlErrorCollectionPrototype class.

ToString ( ) : string
this ( int index ) : SqlError

Gets the error at the specified index.

Private Methods

Method Description
SqlErrorCollectionPrototype ( ) : System

Creates the _constructor function and the _adder action.

Method Details

Add() public method

Adds the specified error to the collection.
public Add ( SqlError error ) : void
error System.Data.SqlClient.SqlError The error.
return void

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

SqlErrorCollectionPrototype() public method

Initializes a new instance of the SqlErrorCollectionPrototype class.
public SqlErrorCollectionPrototype ( [ collection ) : System
collection [ The collection.
return System

ToString() public method

public ToString ( ) : string
return string

this() public method

Gets the error at the specified index.
Index parameter is outside array bounds.
public this ( int index ) : SqlError
index int The zero-based index of the error to retrieve.
return System.Data.SqlClient.SqlError