Ejemplo n.º 1
0
 private void CreateNotesProxy()
 {
     if (null == m_notesProxy)
     {
         m_notesProxy = new NotesProxy.ProxyClass();
     }
 }
Ejemplo n.º 2
0
        public void TearDown()
        {
            if (null == m_notesProxy)
                return;

            Marshal.ReleaseComObject(m_notesProxy);
            m_notesProxy = null;
        }
Ejemplo n.º 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;
		}
Ejemplo n.º 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));
		}