Esempio n. 1
0
        public static IEnumerable <IVisio.Window> AsEnumerable(this IVisio.Windows windows)
        {
            short count = windows.Count;

            for (int i = 0; i < count; i++)
            {
                yield return(windows[(short)(i + 1)]);
            }
        }
Esempio n. 2
0
 public static IEnumerable <IVisio.Window> ToEnumerable(this IVisio.Windows windows)
 {
     return(VisioAutomation.Windows.WindowHelper.ToEnumerable(windows));
 }
Esempio n. 3
0
 public static List <IVisio.Window> ToList(this IVisio.Windows windows)
 {
     return(ExtensionHelpers.ToList(() => windows.Count, i => windows[(short)(i + 1)]));
 }
Esempio n. 4
0
 public static List <IVisio.Window> ToList(this IVisio.Windows windows)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToList(() => windows.Count, i => windows[(short)(i + 1)]));
 }
Esempio n. 5
0
 public static IEnumerable <IVisio.Window> ToEnumerable(this IVisio.Windows windows)
 {
     return(ExtensionHelpers.ToEnumerable(() => windows.Count, i => windows[(short)(i + 1)]));
 }