Example #1
0
        /// <summary>
        /// Imports a table with header line into the entity.
        /// </summary>
        /// <param name="entity">The entity.</param>
        /// <param name="table">The text.</param>
        public static void ImportTable([NotNull] this ResourceEntity entity, [NotNull] IList <IList <string> > table)
        {
            Contract.Requires(entity != null);
            Contract.Requires(table != null);

            entity.ImportTable(_fixedColumnHeaders, table).Apply();
        }
Example #2
0
 /// <summary>
 /// Imports a table with header line into the entity.
 /// </summary>
 /// <param name="entity">The entity.</param>
 /// <param name="table">The text.</param>
 public static void ImportTable([NotNull] this ResourceEntity entity, [NotNull][ItemNotNull] IList <IList <string> > table)
 {
     entity.ImportTable(_fixedColumnHeaders, table).Apply();
 }