29 lines
726 B
C#
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);
|
|||
|
}
|
|||
|
}
|