protected virtual object ConvertToFile(object value, MetaDataType dest, string destFieldName, int rowIndex, out MdpImportWarning[] warnings) { warnings = null; if (OnConvertToFile != null) { MetaObjectResolverEventArgs e = new MetaObjectResolverEventArgs(value, destFieldName, dest); OnConvertToFile(this, e); warnings = e.Warnings; return(e.Value); } else { return(null); } }
protected virtual object ConvertToFile(object value, MetaDataType dest, string destFieldName, int rowIndex, out MdpImportWarning[] warnings) { warnings = null; if (OnConvertToFile != null) { MetaObjectResolverEventArgs e = new MetaObjectResolverEventArgs(value, destFieldName, dest); OnConvertToFile(this, e); warnings = e.Warnings; return e.Value; } else return null; }