-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIManagerView.cs
More file actions
24 lines (20 loc) · 954 Bytes
/
IManagerView.cs
File metadata and controls
24 lines (20 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
namespace ConnectionStringManager
{
public delegate void ConnectionAction(ConnectionStringEntry entry, bool silent);
public delegate void ConnectionUpdateAction(string connectionName, ConnectionStringEntry entry, bool silent);
public delegate void SwapConnectionAction(ConnectionStringEntry entry, SavedConnection savedConn, bool silent);
public interface IManagerView : IGenericView
{
event ConnectionUpdateAction UpdateConnection;
event ConnectionAction OpenContainingConfig;
event EventHandler RefreshConnections;
event ConnectionAction AddConnection;
event ConnectionAction RemoveConnection;
event ConnectionAction SaveConnection;
event SwapConnectionAction ChangeConnection;
IList<ConnectionStringEntry> ConnectionStrings { get; set; }
IList<SavedConnection> SavedConnections { get; set; }
}
}