SnapDotNet.Apps.Notifications.NotificationBase.NotificationBase.NotificationBase C# (CSharp) Method

NotificationBase() protected method

protected NotificationBase ( string templateName, string fallbackName, int imageCount, int textCount ) : System
templateName string
fallbackName string
imageCount int
textCount int
return System
			protected NotificationBase(string templateName, string fallbackName, int imageCount, int textCount)
			{
				m_TemplateName = templateName;
				m_FallbackName = fallbackName;

				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();
				}
			}