protected NotificationBase(string templateName, int imageCount, int textCount) { m_TemplateName = templateName; m_Images = new INotificationContentImage[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(); } }