Exemplo n.º 1
0
 public WhatsAppOperation(WhatsAppConnect connect)
 {
     InstanceOperation = new InstanceOperation(connect);
     MessageOperation  = new MessageOperation(connect);
     GroupsOperation   = new GroupsOperation(connect);
     QueuesOperation   = new QueuesOperation(connect);
     BannedOperation   = new BannedOperation(connect);
 }
Exemplo n.º 2
0
 private void Groups_AcoOperation(object sender, CollectionOperationEventArgs <IGroup> e)
 {
     GroupsOperation?.Invoke(this, new CollectionOperationEventArgs <IGroup>(e.Item, e.Operation));
     NotifyPropertyChanged(nameof(Groups));
 }