public AccessibleObject Wrap(TreeNode node)
        {
            if (node == null)
            {
                return(null);
            }
            AccessibleObject a;

            cache.TryGetValue(node, out a);
            if (a == null)
            {
                a           = new AccessibleNodeTextViewNode(this, node);
                cache[node] = a;
            }
            return(a);
        }
Пример #2
0
 public AccessibleObject Wrap(TreeNode node)
 {
     if (node == null) return null;
     AccessibleObject a;
     cache.TryGetValue(node, out a);
     if (a == null){
         a = new AccessibleNodeTextViewNode(this, node);
         cache[node] = a;
     }
     return a;
 }