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)]); } }
public static IEnumerable <IVisio.Window> ToEnumerable(this IVisio.Windows windows) { return(VisioAutomation.Windows.WindowHelper.ToEnumerable(windows)); }
public static List <IVisio.Window> ToList(this IVisio.Windows windows) { return(ExtensionHelpers.ToList(() => windows.Count, i => windows[(short)(i + 1)])); }
public static List <IVisio.Window> ToList(this IVisio.Windows windows) { return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToList(() => windows.Count, i => windows[(short)(i + 1)])); }
public static IEnumerable <IVisio.Window> ToEnumerable(this IVisio.Windows windows) { return(ExtensionHelpers.ToEnumerable(() => windows.Count, i => windows[(short)(i + 1)])); }