20 lines
470 B
C#
20 lines
470 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NotVisualComponent.Models
|
|
{
|
|
public class TableConfig : DocumentConfig
|
|
{
|
|
public List<string[,]>? Data { get; set; }
|
|
|
|
public void CheckFields()
|
|
{
|
|
if (Data == null || Data.Count == 0 || Data.All(x => x.Length == 0))
|
|
throw new ArgumentNullException("Data is null");
|
|
}
|
|
}
|
|
}
|