public static IEnumerable <IVisio.Row> ToEnumerable(this IVisio.Section section) { // Section object: http://msdn.microsoft.com/en-us/library/ms408988(v=office.12).aspx return(ExtensionHelpers.ToEnumerable(() => section.Count, i => section[(short)i])); }
public static List <IVisio.Master> ToList(this IVisio.Masters masters) { return(ExtensionHelpers.ToList(() => masters.Count, i => masters[i + 1])); }
public static IEnumerable <IVisio.Color> ToEnumerable(this IVisio.Colors colors) { return(ExtensionHelpers.ToEnumerable(() => colors.Count, i => colors[i])); }
public static List <IVisio.Row> ToList(this IVisio.Section section) { return(ExtensionHelpers.ToList(() => section.Count, i => section[(short)i])); }
public static IEnumerable <IVisio.Document> ToEnumerable(this IVisio.Documents documents) { return(ExtensionHelpers.ToEnumerable(() => documents.Count, i => documents[i + 1]));; }
public static IEnumerable <IVisio.Shape> ToEnumerable(this IVisio.Selection selection) { return(ExtensionHelpers.ToEnumerable(() => selection.Count, i => selection[i + 1])); }
public static IEnumerable <IVisio.Connect> ToEnumerable(this IVisio.Connects connects) { return(ExtensionHelpers.ToEnumerable(() => connects.Count, i => connects[i + 1])); }
public static IEnumerable <IVisio.Shape> ToEnumerable(this IVisio.Shapes shapes) { return(ExtensionHelpers.ToEnumerable(() => shapes.Count, i => shapes[i + 1])); }
public static List <IVisio.Page> ToList(this IVisio.Pages pages) { return(ExtensionHelpers.ToList(() => pages.Count, i => pages[i + 1])); }
public static List <IVisio.Connect> ToList(this IVisio.Connects connects) { return(ExtensionHelpers.ToList(() => connects.Count, i => connects[i + 1])); }
public static IEnumerable <IVisio.Page> ToEnumerable(this IVisio.Pages pages) { return(ExtensionHelpers.ToEnumerable(() => pages.Count, i => pages[i + 1])); }
public static List <IVisio.Window> ToList(this IVisio.Windows windows) { return(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)])); }
public static List <IVisio.Layer> ToList(this IVisio.Layers layers) { return(ExtensionHelpers.ToList(() => layers.Count, i => layers[i + 1])); }
public static List <IVisio.Font> ToList(this IVisio.Fonts fonts) { return(ExtensionHelpers.ToList(() => fonts.Count, i => fonts[i + 1])); }
public static IEnumerable <IVisio.Layer> ToEnumerable(this IVisio.Layers layers) { return(ExtensionHelpers.ToEnumerable(() => layers.Count, i => layers[i + 1])); }
public static IEnumerable <IVisio.Font> ToEnumerable(this IVisio.Fonts fonts) { return(ExtensionHelpers.ToEnumerable(() => fonts.Count, i => fonts[i + 1])); }
public static List <IVisio.Shape> ToList(this IVisio.Shapes shapes) { return(ExtensionHelpers.ToList(() => shapes.Count, i => shapes[i + 1])); }
public static List <IVisio.Color> ToList(this IVisio.Colors colors) { return(ExtensionHelpers.ToList(() => colors.Count, i => colors[i])); }
public static List <IVisio.Document> ToList(this IVisio.Documents documents) { return(ExtensionHelpers.ToList(() => documents.Count, i => documents[i + 1]));; }
public static List <IVisio.Shape> ToList(this IVisio.Selection selection) { return(ExtensionHelpers.ToList(() => selection.Count, i => selection[i + 1])); }