Пример #1
0
		private void Dispose(bool disposing)
		{
			if (m_Disposed)
				return;

			m_Disposed = true;

			if (disposing)
			{
			}

			if (m_outlookAttachmentsProxy != null)
			{
				m_outlookAttachmentsProxy.Dispose();
				m_outlookAttachmentsProxy = null;
			}

			m_outlookMail = null;
		}
Пример #2
0
        private void Initialise(MSOutlook.MailItem mailItem, bool bUseCache)
		{
			if (null == mailItem)
				throw new ArgumentNullException("mailItem");

			m_oif = new OutlookIImplFactory();

			m_outlookMail = mailItem;
			if (null == m_outlookMail)
				throw new ArgumentNullException("m_outlookMail");


			m_RecipientsProxy = new OutlookRecipientsProxy(m_outlookMail, bUseCache);
			m_outlookAttachmentsProxy = new OutlookAttachmentsProxy(m_outlookMail);

			m_bIsValid = true;
		}