コード例 #1
0
        public static IFC2X3_ParametricObject_LShapeProfile[] FromTSObject(dynamic[] tsArray)
        {
            if (tsArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <IFC2X3_ParametricObject_LShapeProfile>();

            foreach (var tsItem in tsArray)
            {
                list.Add(IFC2X3_ParametricObject_LShapeProfile_.FromTSObject(tsItem));
            }
            return(list.ToArray());
        }
コード例 #2
0
        public static dynamic GetTSObject(IFC2X3_ParametricObject_LShapeProfile[] dynArray)
        {
            if (dynArray is null)
            {
                return(null);
            }
            var list = new System.Collections.Generic.List <dynamic>();

            foreach (var dynItem in dynArray)
            {
                list.Add(IFC2X3_ParametricObject_LShapeProfile_.GetTSObject(dynItem));
            }
            return(list.ToArray());
        }