Пример #1
0
        // Token: 0x06002634 RID: 9780 RVA: 0x000B64C4 File Offset: 0x000B46C4
        protected override AutomationLiveSetting GetLiveSettingCore()
        {
            AutomationPeer wrapperPeer = this.WrapperPeer;

            if (wrapperPeer != null)
            {
                return(wrapperPeer.GetLiveSetting());
            }
            this.ThrowElementNotAvailableException();
            return(AutomationLiveSetting.Off);
        }
        // Token: 0x0600258F RID: 9615 RVA: 0x000B48F4 File Offset: 0x000B2AF4
        protected override AutomationLiveSetting GetLiveSettingCore()
        {
            AutomationPeer        owningCellPeer = this.OwningCellPeer;
            AutomationLiveSetting result         = AutomationLiveSetting.Off;

            if (owningCellPeer != null)
            {
                result = owningCellPeer.GetLiveSetting();
            }
            else
            {
                this.ThrowElementNotAvailableException();
            }
            return(result);
        }
        override protected AutomationLiveSetting GetLiveSettingCore()
        {
            AutomationPeer        wrapperPeer = OwningCellPeer;
            AutomationLiveSetting liveSetting = AutomationLiveSetting.Off;

            if (wrapperPeer != null)
            {
                liveSetting = wrapperPeer.GetLiveSetting();
            }
            else
            {
                ThrowElementNotAvailableException();
            }

            return(liveSetting);
        }