예제 #1
0
        string CollectUsersEmails(SendEmailJobDetailDataMap sendEmailJobDetailDataMap)
        {
            var baseCollection = (XPBaseCollection)sendEmailJobDetailDataMap.GetMemberValue("Users");

            return(CollectUsersEmailsCore(baseCollection));
        }
예제 #2
0
        string CollectRolesEmails(SendEmailJobDetailDataMap sendEmailJobDetailDataMap)
        {
            var baseCollection = ((XPBaseCollection)sendEmailJobDetailDataMap.GetMemberValue("Roles")).OfType <IRole>().SelectMany(role => role.Users);

            return(CollectUsersEmailsCore(baseCollection));
        }