Esempio n. 1
0
        public static IEnumerable <IVisio.Color> ToEnumerable(IVisio.Colors colors)
        {
            int count = colors.Count;

            for (int i = 0; i < count; i++)
            {
                yield return(colors[i]);
            }
        }
Esempio n. 2
0
 public static IEnumerable <IVisio.Color> ToEnumerable(this IVisio.Colors colors)
 {
     return(VisioAutomation.Colors.ColorHelper.ToEnumerable(colors));
 }
 public static IEnumerable <IVisio.Color> ToEnumerable(this IVisio.Colors colors)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToEnumerable(() => colors.Count, i => colors[i]));
 }
 public static List <IVisio.Color> ToList(this IVisio.Colors colors)
 {
     return(VisioAutomation.Internal.Extensions.ExtensionHelpers.ToList(() => colors.Count, i => colors[i]));
 }
 public static IEnumerable <IVisio.Color> ToEnumerable(this IVisio.Colors colors)
 {
     return(ExtensionHelpers.ToEnumerable(() => colors.Count, i => colors[i]));
 }
 public static List <IVisio.Color> ToList(this IVisio.Colors colors)
 {
     return(ExtensionHelpers.ToList(() => colors.Count, i => colors[i]));
 }