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

18 lines
239 B
C#
Raw Permalink Normal View History

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