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()); }
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); }
protected override void CloneFrom(ObjectBrowserSettings source) { base.CloneFrom(source); m_language = ((NetBrowserSettings)source).m_language; }
protected override bool SettingsObjectAcceptable(ObjectBrowserSettings settings) { return(settings is ComBrowserSettings); }