コード例 #1
0
 protected void ParseParameters(TParams parameters,
                                out string[] paramNames, out int[] paramTypes,
                                out string[] paramValues, out object[] selection,
                                out int[] dimTypes, out double[] dimValues, out IBody2[] editBodies)
 {
     m_ParamsParser.Parse(parameters, out paramNames, out paramTypes,
                          out paramValues, out selection, out dimTypes, out dimValues, out editBodies);
 }
コード例 #2
0
        private static IFeature InsertComFeatureWithParameters(
            IFeatureManager featMgr, Type macroFeatType, object parameters)
        {
            string[] paramNames;
            int[]    paramTypes;
            string[] paramValues;
            object[] selection;
            int[]    dimTypes;
            double[] dimValues;
            IBody2[] editBodies;

            m_ParamsParser.Parse(parameters,
                                 out paramNames, out paramTypes, out paramValues, out selection,
                                 out dimTypes, out dimValues, out editBodies);

            return(InsertComFeatureBase(featMgr, macroFeatType, paramNames,
                                        paramTypes, paramValues, dimTypes, dimValues, selection, editBodies));
        }