Inheritance: INotificationContentImage
示例#1
0
文件: Common.cs 项目: whuacn/echelper
        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();
            }
        }
示例#2
0
        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();
            }
        }