Example #1
0
        public void Finalise()
        {
            RemotingServices.Disconnect(this);

            m_AotaAction = null;
            m_Host       = null;
        }
Example #2
0
        public void Initialise(ITangraHost host)
        {
            m_Host                      = host;
            m_SettingsProvider          = m_Host.GetSettingsProvider();
            Extensions.SettingsProvider = m_SettingsProvider;

            m_Settings = m_SettingsProvider.ReadSettings().Load();

            m_OccultWrapper = OccultWrapperFactory.CreateOccultWrapper(m_Settings, this);

            m_AotaAction = new AotaAction(m_Settings, host, m_OccultWrapper, this);

            m_SupportedAddinActions = new ITangraAddinAction[] { m_AotaAction };

            RemotingConfiguration.RegisterWellKnownServiceType(typeof(OccultToolsAddin), "OccultToolsAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(AotaAction), "AotaAction", WellKnownObjectMode.Singleton);
        }
Example #3
0
        public void Initialise(ITangraHost host)
        {
            m_Host = host;
            m_SettingsProvider = m_Host.GetSettingsProvider();
            Extensions.SettingsProvider = m_SettingsProvider;

            m_Settings = m_SettingsProvider.ReadSettings().Load();

            m_OccultWrapper = OccultWrapperFactory.CreateOccultWrapper(m_Settings, this);

            m_AotaAction = new AotaAction(m_Settings, host, m_OccultWrapper, this);

            m_SupportedAddinActions = new ITangraAddinAction[] { m_AotaAction };

            RemotingConfiguration.RegisterWellKnownServiceType(typeof(OccultToolsAddin), "OccultToolsAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(AotaAction), "AotaAction", WellKnownObjectMode.Singleton);
        }
Example #4
0
        public void Finalise()
        {
            RemotingServices.Disconnect(this);

            m_AotaAction = null;
            m_Host = null;
        }