/// <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(); }
/// <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(); }