Пример #1
0
 public static IEnumerable <SlarkClientConnection> ToEnumerable(this SlarkClientConnection connection)
 {
     return(new SlarkClientConnection[] { connection });
 }
Пример #2
0
 public static Task <IEnumerable <SlarkClientConnection> > ToEnumerableAsync(this SlarkClientConnection connection)
 {
     return(Task.FromResult(connection.ToEnumerable()));
 }
Пример #3
0
 public abstract void RemoveConnectionSync(SlarkClientConnection connection);
Пример #4
0
 public abstract void AddConnectionSync(SlarkClientConnection connection);
Пример #5
0
 public abstract Task OnDisconnected(SlarkClientConnection slarkClientConnection);
Пример #6
0
 public abstract Task OnReceived(SlarkClientConnection sender, string message);
Пример #7
0
 public abstract Task <SlarkClientConnection> OnConnected(SlarkClientConnection slarkClientConnection);