Ejemplo n.º 1
0
        public string RangePathFromChild(string childPath)
        {
            var childProvider = AutomationBridge.Instance.FindProviderByPath(childPath);

            if (childProvider == null)
            {
                throw new Exception(
                          string.Format("\"{0}\" is an invalid element dbus path", childPath));
            }
            var textRangeProvider = provider.RangeFromChild(childProvider);

            return(GetOrCreateTextRange(textRangeProvider));
        }