Beispiel #1
0
        /// <summary>
        /// Mutates the contents of this instance and get the mutated instance.
        /// </summary>
        /// <param name="action">The action to mutate the record.</param>
        /// <returns>The mutated instance.</returns>
        public CsvRecord Mutate(Action <Mutable> action)
        {
            var mutable = new Mutable(this);

            action(mutable);
            return(mutable.ToRecord());
        }