namespace InnovEnergy.Lib.Channels.V2.Bak.Connections; public static class Connection { public static IChannel CreateChannel(this IConnection connection, Func> read, Func write) { return new GenericChannel(connection, read, write); } }