Exemple #1
0
 protected override void OnRead(byte[] bytes)
 {
     if (bytes != null && ReadClient != null)
     {
         ReadClient.Invoke(bytes, id);
     }
 }
Exemple #2
0
 void connection_ReadClient(byte[] data, int id)
 {
     if (ReadClient != null)
     {
         ReadClient.Invoke(data, id);
     }
 }
Exemple #3
0
 public ClientController(Startup.DeleteByNameResolver deleteAccesor, IClientReadOnlyRepository readClient, ICreate <Client> createClient)
 {
     delete = new DeleteClient(deleteAccesor(DeletesEmail.Client), readClient);
     create = new CreateClient(createClient, readClient);
     read   = new ReadClient(readClient);
 }