public System.Collections.IEnumerator GetEnumerator()
        {
            var list = new System.Collections.Generic.List <Phase>();

            foreach (var tsPhase in teklaObject)
            {
                list.Add(Phase_.FromTSObject(tsPhase));
            }
            return(list.GetEnumerator());
        }
Exemple #2
0
            public static Phase[] FromTSObject(dynamic[] tsArray)
            {
                if (tsArray is null)
                {
                    return(null);
                }
                var list = new System.Collections.Generic.List <Phase>();

                foreach (var tsItem in tsArray)
                {
                    list.Add(Phase_.FromTSObject(tsItem));
                }
                return(list.ToArray());
            }