Innovenergy_trunk/csharp/lib/Channels/V2/Bak/Connections/IConnection.cs

18 lines
235 B
C#
Raw Normal View History

2023-02-16 12:57:06 +00:00
namespace InnovEnergy.Lib.Channels.V2.Connections;
public interface IConnection
{
Task Open();
void Close();
Boolean IsOpen { get; }
}
public interface IConnection<T> : IConnection
{
new Task<T> Open();
}