/// <summary> /// Use context renamers to get the appropriate name for a field. /// </summary> /// <param name="_fieldData">The FieldData describing (in framework terms) this field</param> /// <returns>The name that should be used for the field</returns> internal string GetFieldName(CFieldData _fieldData) { var name = _fieldData.XmlName; if (m_context.FieldRenamer != null) { name = m_context.FieldRenamer.ConvertFieldName(name, _fieldData.Field); } if (m_context.FixM_) { name = CFixM_.ConvertName(name); } return(name); }
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Push a field onto the fieldStack /// </summary> /// <param name="_field">The field to push onto the stack</param> internal void PushCurrentField(CFieldData _field) => //string indent = new string( ' ', m_fieldStack.Count ); //Console.WriteLine( indent + "Push Field: " + _field.XmlName ); m_fieldStack.Push(_field);