Esempio n. 1
0
        protected override void CloneFrom(ObjectBrowserSettings source)
        {
            base.CloneFrom(source);

            RemoteNetBrowserSettings sourceSettings = (RemoteNetBrowserSettings)source;

            m_remoteDomain = sourceSettings.m_remoteDomain;
            m_settings     = (sourceSettings.m_settings == null ? null :
                              (NetBrowserSettings)sourceSettings.m_settings.Clone());
        }
Esempio n. 2
0
        internal override void SetSettings(ObjectBrowserSettings value)
        {
            base.SetSettings(value);

            RemoteNetBrowserSettings remoteSettings = (RemoteNetBrowserSettings)value;

            Debug.Assert(remoteSettings.RemoteDomain == RemoteDomain, string.Format(
                             "The RemoteDomain for the RemoteNetBrowserManager object is set to '{0}', but the"
                             + " RemoteDomain for the RemoteNetBrowserSettings object passed to it is '{1}'.",
                             (RemoteDomain == null ? "<null>" : RemoteDomain.FriendlyName),
                             (remoteSettings.RemoteDomain == null ? "<null>" : remoteSettings.RemoteDomain.FriendlyName)));

            RealManager.SetSettings(remoteSettings.RealSettings);
        }
Esempio n. 3
0
        protected override void CloneFrom(ObjectBrowserSettings source)
        {
            base.CloneFrom(source);

            m_language = ((NetBrowserSettings)source).m_language;
        }
Esempio n. 4
0
 protected override bool SettingsObjectAcceptable(ObjectBrowserSettings settings)
 {
     return(settings is ComBrowserSettings);
 }