| 123456789101112131415161718192021222324252627282930313233 |
- //------------------------------------------------------------------------------
- // <copyright file="StateChangeEvent.cs" company="Microsoft">
- // Copyright (c) Microsoft Corporation. All rights reserved.
- // </copyright>
- // <owner current="true" primary="true">[....]</owner>
- // <owner current="true" primary="false">[....]</owner>
- //------------------------------------------------------------------------------
- namespace System.Data {
- using System;
- public sealed class StateChangeEventArgs : System.EventArgs {
- private ConnectionState originalState;
- private ConnectionState currentState;
- public StateChangeEventArgs(ConnectionState originalState, ConnectionState currentState) {
- this.originalState = originalState;
- this.currentState = currentState;
- }
- public ConnectionState CurrentState {
- get {
- return this.currentState;
- }
- }
- public ConnectionState OriginalState {
- get {
- return this.originalState;
- }
- }
- }
- }
|