示例#1
0
 private void CreateNotesProxy()
 {
     if (null == m_notesProxy)
     {
         m_notesProxy = new NotesProxy.ProxyClass();
     }
 }
示例#2
0
        public void TearDown()
        {
            if (null == m_notesProxy)
                return;

            Marshal.ReleaseComObject(m_notesProxy);
            m_notesProxy = null;
        }
示例#3
0
		public NotesMailProxy(object mailItem)
		{
			m_notesProxy = mailItem as NotesProxy.IProxy;
			m_notesToRecipientsProxy = new NotesRecipientsProxy(m_notesProxy.GetResolvedRecipientsTypeToken);
			m_notesCcRecipientsProxy = new NotesRecipientsProxy(m_notesProxy.GetResolvedRecipientsTypeToken);
			m_notesBccRecipientsProxy = new NotesRecipientsProxy(m_notesProxy.GetResolvedRecipientsTypeToken);
			m_notesAttachmentsProxy = new NotesAttachmentsProxy(m_notesProxy);

			m_bIsValid = true;
		}
示例#4
0
		public ServerProfilesNotes(Notes.IProxy provider)
		{
			_provider = provider;

			// Read the new default server profile name and description from the options.
			Logger.LogDebug("Reading profile name and description from the options.");

			DefaultServerProfileName = OptionApi.GetString("DefaultServerProfileName");
			Logger.LogInfo(string.Format("DefaultServerProfileName=\"{0}\"", DefaultServerProfileName));

			DefaultServerProfileDescription = OptionApi.GetString("DefaultServerProfileDescription");
			Logger.LogInfo(string.Format("DefaultServerProfileDescription=\"{0}\"", DefaultServerProfileDescription));
		}