Static Axes SubClass
Наследование: Axis
Пример #1
0
        public static Axis CreateAxis(XElement axis1, TableMetaData table, Axis axis2)
        {
            Axis axis;

            if (axis2.type.ContainsCI("static"))
            {
                axis = new StaticAxis(axis1, table);
            }
            else
            {
                axis = new Axis(axis1, table);
            }

            axis.parentAxis = axis2;
            return(axis);
        }
Пример #2
0
        public static Axis CreateAxis(XElement axis1, TableMetaData table, Axis axis2)
        {
            Axis axis;
            if(axis2.type.ContainsCI("static"))
                axis = new StaticAxis(axis1, table);
            else
                axis = new Axis(axis1, table);

            axis.parentAxis = axis2;
            return axis;
        }