5 instantiations of StateChangeEventArgs
System.Data (3)
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
348
OnStateChange(new
StateChangeEventArgs
(originalState, currentState));
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (2)
32
internal static readonly StateChangeEventArgs StateChangeClosed = new
StateChangeEventArgs
(ConnectionState.Open, ConnectionState.Closed);
33
internal static readonly StateChangeEventArgs StateChangeOpen = new
StateChangeEventArgs
(ConnectionState.Closed, ConnectionState.Open);
System.Data.Entity (2)
System\Data\EntityClient\EntityConnection.cs (2)
41
internal static readonly StateChangeEventArgs StateChangeClosed = new
StateChangeEventArgs
(ConnectionState.Open, ConnectionState.Closed);
42
internal static readonly StateChangeEventArgs StateChangeOpen = new
StateChangeEventArgs
(ConnectionState.Closed, ConnectionState.Open);
7 references to StateChangeEventArgs
System.Data (4)
fx\src\data\System\Data\Common\DBConnection.cs (1)
162
protected virtual void OnStateChange(
StateChangeEventArgs
stateChange) {
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (2)
32
internal static readonly
StateChangeEventArgs
StateChangeClosed = new StateChangeEventArgs(ConnectionState.Open, ConnectionState.Closed);
33
internal static readonly
StateChangeEventArgs
StateChangeOpen = new StateChangeEventArgs(ConnectionState.Closed, ConnectionState.Open);
fx\src\data\System\Data\StateChangeEventHandler.cs (1)
12
public delegate void StateChangeEventHandler(object sender,
StateChangeEventArgs
e);
System.Data.Entity (3)
System\Data\EntityClient\EntityConnection.cs (2)
41
internal static readonly
StateChangeEventArgs
StateChangeClosed = new StateChangeEventArgs(ConnectionState.Open, ConnectionState.Closed);
42
internal static readonly
StateChangeEventArgs
StateChangeOpen = new StateChangeEventArgs(ConnectionState.Closed, ConnectionState.Open);
System\Data\Objects\ObjectContext.cs (1)
1546
private void ConnectionStateChange(object sender,
StateChangeEventArgs
e)