Beispiel #1
0
 private static void DumpAccessible(IAccessible accessible, int indent)
 {
     Console.Write(new string(' ', indent) + "* ");
       Console.Write(accessible.GetNameSafe() ?? "<null name>");
       Console.Write('\t');
       Console.Write(accessible.GetRoleSafe());
       Console.Write('\t');
       Console.Write(accessible.GetValueAsString() ?? "<null value>");
       Console.Write('\t');
       Console.Write(accessible.GetStateSafe() ?? "<null state>");
       Console.Write('\t');
       Console.Write(accessible.GetDescriptionSafe() ?? "<null description>");
       Console.WriteLine();
 }
Beispiel #2
0
 private static void DumpAccessible(IAccessible accessible, int indent)
 {
     Console.Write(new string(' ', indent) + "* ");
     Console.Write(accessible.GetNameSafe() ?? "<null name>");
     Console.Write('\t');
     Console.Write(accessible.GetRoleSafe());
     Console.Write('\t');
     Console.Write(accessible.GetValueAsString() ?? "<null value>");
     Console.Write('\t');
     Console.Write(accessible.GetStateSafe() ?? "<null state>");
     Console.Write('\t');
     Console.Write(accessible.GetDescriptionSafe() ?? "<null description>");
     Console.WriteLine();
 }