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

18 lines
235 B
C#

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();
}