public static IEnumerable <IVisio.Layer> AsEnumerable(this IVisio.Layers layers)
        {
            short count = layers.Count;

            for (int i = 0; i < count; i++)
            {
                yield return(layers[i + 1]);
            }
        }
Esempio n. 2
0
 public static IEnumerable <IVisio.Layer> ToEnumerable(this IVisio.Layers layers)
 {
     return(VisioAutomation.Layers.LayerHelper.ToEnumerable(layers));
 }
Esempio n. 3
0
 public static IEnumerable <IVisio.Layer> ToEnumerable(this IVisio.Layers layers)
 {
     return(ExtensionHelpers.ToEnumerable(() => layers.Count, i => layers[i + 1]));
 }
Esempio n. 4
0
 public static List <IVisio.Layer> ToList(this IVisio.Layers layers)
 {
     return(ExtensionHelpers.ToList(() => layers.Count, i => layers[i + 1]));
 }
 public static IEnumerable <IVisio.Layer> ToEnumerable(this IVisio.Layers layers)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToEnumerable(() => layers.Count, i => layers[i + 1]));
 }
 public static List <IVisio.Layer> ToList(this IVisio.Layers layers)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToList(() => layers.Count, i => layers[i + 1]));
 }