protected NotificationBase(string templateName, int imageCount, int textCount)
        {
            m_TemplateName = templateName;

            m_Images = new NotificationContentImage[imageCount];
            for (int i = 0; i < m_Images.Length; i++)
            {
                m_Images[i] = new NotificationContentImage();
            }

            m_TextFields = new INotificationContentText[textCount];
            for (int i = 0; i < m_TextFields.Length; i++)
            {
                m_TextFields[i] = new NotificationContentText();
            }
        }
Esempio n. 2
0
        protected NotificationBase(string templateName, int imageCount, int textCount)
        {
            m_TemplateName = templateName;

            m_Images = new NotificationContentImage[imageCount];
            for (int i = 0; i < m_Images.Length; i++)
            {
                m_Images[i] = new NotificationContentImage();
            }

            m_TextFields = new INotificationContentText[textCount];
            for (int i = 0; i < m_TextFields.Length; i++)
            {
                m_TextFields[i] = new NotificationContentText();
            }
        }
Esempio n. 3
0
        protected NotificationBase(string templateName, int imageCount, int textCount)
        {
            StrictValidation = true;
            TemplateName     = templateName;

            Images = new NotificationContentImage[imageCount];
            for (int i = 0; i < Images.Length; i++)
            {
                Images[i] = new NotificationContentImage();
            }

            TextFields = new INotificationContentText[textCount];
            for (int i = 0; i < TextFields.Length; i++)
            {
                TextFields[i] = new NotificationContentText();
            }
        }