Ejemplo n.º 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();
        }
Ejemplo n.º 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();
 }