Example #1
0
        /// <summary>
        /// Maps a constructor parameter to a CSV field.
        /// </summary>
        /// <param name="name">The name of the constructor parameter.</param>
        public virtual ParameterMap Parameter(string name)
        {
            if (string.IsNullOrWhiteSpace(name))
            {
                throw new ArgumentNullException(nameof(name));
            }

            return(Parameter(() => ConfigurationFunctions.GetConstructor(ClassType), name));
        }
Example #2
0
 /// <summary>
 /// Maps a constructor parameter to a CSV field.
 /// </summary>
 /// <param name="name">The name of the constructor parameter.</param>
 public virtual ParameterMap Parameter(string name)
 {
     return(Parameter(() => ConfigurationFunctions.GetConstructor(ClassType), name));
 }