protected virtual void CloneFrom(ObjectBrowserSettings source) { m_memberOrder = source.m_memberOrder; m_showMembers = source.m_showMembers; m_showNonPublic = source.m_showNonPublic; m_showTypeCheckBoxes = source.m_showTypeCheckBoxes; m_typeOrder = source.m_typeOrder; }
internal virtual void SetSettings(ObjectBrowserSettings value) { if (value != null && !SettingsObjectAcceptable(value)) { throw new ArgumentException(string.Format("The object browser manager and settings objects are" + " incompatible. The manager object type is '{0}' and the settings object type is '{1}'.", GetType().FullName, value.GetType().FullName)); } m_settings = value; }
public virtual bool SettingsEqual(ISettingsObject obj) { ObjectBrowserSettings other = obj as ObjectBrowserSettings; if (other == null) { return(false); } return(ShowMembers == other.ShowMembers && ShowTypeCheckBoxes == other.ShowTypeCheckBoxes && ShowNonPublic == other.ShowNonPublic && TypeOrder == other.TypeOrder && MemberOrder == other.MemberOrder); }
public virtual void Dispose() { ClearCache(); m_settings = null; }
protected abstract bool SettingsObjectAcceptable(ObjectBrowserSettings settings);