public void ProcessVariable(string csvFieldName, string variableName, IDataType type) { if (type == null) { return; } string typeDefinition = "\t[CSVField(\"" + csvFieldName + "\")]\n\tpublic " + type.GetTypeNameForWriter(variableName) + " " + variableName + ";\n"; dataEntryClassContent += (typeDefinition + type.GetAdditionalInfoForWriter(variableName) + "\n"); extensionContent += type.GetExtensionMethodForWriter(dataEntryName, variableName); }
public string GetExtensionMethodForWriter(string dataEntryName, string variableName) { return(baseDataType.GetExtensionMethodForWriter(dataEntryName, variableName)); }