20 lines
470 B
C#
Raw Normal View History

2024-09-19 19:34:15 +04:00
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");
}
}
}