Beispiel #1
0
        private IEnumerable <string> GetRecipientApiKeysFor(Operation operation, string consumer)
        {
            var recipients = _addressing.GetCustomObjectsFiltered <PushEntryObject>(PushEntryObject.TypeId, operation);

            return(recipients
                   .Select(ri => ri.Item2)
                   .Where(item => item.Consumer == consumer)
                   .Select(item => item.RecipientApiKey));
        }
Beispiel #2
0
        private IList <MailAddressEntryObject> GetMailRecipients(Operation operation)
        {
            var recipients = _addressing.GetCustomObjectsFiltered <MailAddressEntryObject>(MailAddressEntryObject.TypeId, operation);

            return(recipients.Select(ri => ri.Item2).ToList());
        }
Beispiel #3
0
        private IEnumerable <PushEntryObject> GetRecipients(Operation operation)
        {
            var recipients = _addressing.GetCustomObjectsFiltered <PushEntryObject>(PushEntryObject.TypeId, operation);

            return(recipients.Select(ri => ri.Item2).ToList());
        }