コード例 #1
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_KweeCanWoerdenAction = new KweeVanWoerdenMinimum(m_Host, m_Settings);

            m_SupportedAddinActions = new ITangraAddinAction[] { m_KweeCanWoerdenAction };

            RemotingConfiguration.RegisterWellKnownServiceType(typeof(KweeVanWoerdenAddin), "KweeVanWoerdenAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(KweeVanWoerdenMinimum), "KweeVanWoerdenMinimum", WellKnownObjectMode.Singleton);
        }
コード例 #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_KweeCanWoerdenAction = new KweeVanWoerdenMinimum(m_Host, m_Settings);

            m_SupportedAddinActions = new ITangraAddinAction[] { m_KweeCanWoerdenAction };

            RemotingConfiguration.RegisterWellKnownServiceType(typeof(KweeVanWoerdenAddin), "KweeVanWoerdenAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(KweeVanWoerdenMinimum), "KweeVanWoerdenMinimum", WellKnownObjectMode.Singleton);
        }