Пример #1
0
 protected virtual void OnDisconnected(DatabaseEventArgs args)
 {
     if (Disconnected != null)
     {
         Disconnected(this, new DatabaseEventArgs(this));
     }
 }
Пример #2
0
 private static void OnDatabaseDisconnected(object sender, DatabaseEventArgs e)
 {
     if (DatabaseDisconnected != null)
     {
         DatabaseDisconnected(typeof(DatabasesManager), e);
     }
 }
Пример #3
0
 protected virtual void OnDisconnected(DatabaseEventArgs args)
 {
     Disconnected?.Invoke(this, new DatabaseEventArgs(this));
 }