Exemplo n.º 1
0
        public void Initialise(ITangraHost host)
        {
            m_Host = host;

            m_MeasurementsExportAddin = new MeasurementsExportAddin();
            m_MeasurementsExportAddin.Initialise(m_Host);


            RemotingConfiguration.RegisterWellKnownServiceType(typeof(StandardTangraAddin), "StandardTangraAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(MeasurementsExportAddin), "MeasurementsExportAddin", WellKnownObjectMode.Singleton);
        }
Exemplo n.º 2
0
        public void Initialise(ITangraHost host)
        {
            m_Host = host;

            m_MeasurementsExportAddin = new MeasurementsExportAddin();
            m_MeasurementsExportAddin.Initialise(m_Host);

            m_AstrometryExportAddin = new AstrometryExportAddin();
            m_AstrometryExportAddin.Initialise(m_Host);

            RemotingConfiguration.RegisterWellKnownServiceType(typeof(StandardTangraAddin), "StandardTangraAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(MeasurementsExportAddin), "MeasurementsExportAddin", WellKnownObjectMode.Singleton);
            RemotingConfiguration.RegisterWellKnownServiceType(typeof(AstrometryExportAddin), "AstrometryExportAddin", WellKnownObjectMode.Singleton);
        }