private void AddNewVariable(int index, string strValue, int intValue) { var subVariable = new QSPArrayValues(index, strValue, intValue); switch (subVariable.VariableType) { case VariableType.BothValues: { integerCount++; break; } case VariableType.IntValue: { integerCount++; break; } case VariableType.StringValue: { stringCount++; break; } } arraySubVariables.Insert(index, subVariable); }
public QSPNamedArrayValues(string name, QSPArrayValues values) : base(values.Position, values.StringValue, values.IntegerValue) { indexName = name; }