PIbd-21_MasenkinMS_Aircraft.../AircraftPlant/AircraftPlantContracts/StoragesContracts/IBackUpInfo.cs
2024-05-13 02:01:32 +04:00

29 lines
726 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AircraftPlantContracts.StoragesContracts
{
/// <summary>
/// Интерфейс для получения данных из хранилища
/// </summary>
public interface IBackUpInfo
{
/// <summary>
/// Получить список объектов
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
List<T>? GetList<T>() where T : class, new();
/// <summary>
/// Получить тип
/// </summary>
/// <param name="modelInterfaceName"></param>
/// <returns></returns>
Type? GetTypeByModelInterface(string modelInterfaceName);
}
}